commit:     f0134e7ae84b6280bfa06da7161fbdb3814b7f62
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Nov 14 17:49:40 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 22:43:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0134e7a

media-video/guvcview: remove unused patch(es)

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 media-video/guvcview/files/ffmpeg5.patch | 47 --------------------------------
 1 file changed, 47 deletions(-)

diff --git a/media-video/guvcview/files/ffmpeg5.patch 
b/media-video/guvcview/files/ffmpeg5.patch
deleted file mode 100644
index 7e8c71b2bc6f..000000000000
--- a/media-video/guvcview/files/ffmpeg5.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-Index: work/gview_encoder/encoder.c
-===================================================================
---- work.orig/gview_encoder/encoder.c
-+++ work/gview_encoder/encoder.c
-@@ -446,10 +446,6 @@ static encoder_video_context_t *encoder_
- 
-       video_codec_data->codec_context = 
avcodec_alloc_context3(video_codec_data->codec);
- 
--      avcodec_get_context_defaults3 (
--                      video_codec_data->codec_context,
--                      video_codec_data->codec);
--
-       if(video_codec_data->codec_context == NULL)
-       {
-               fprintf(stderr, "ENCODER: FATAL memory allocation failure 
(encoder_video_init): %s\n", strerror(errno));
-@@ -712,7 +708,6 @@ static encoder_audio_context_t *encoder_
-       }
- 
-       audio_codec_data->codec_context = 
avcodec_alloc_context3(audio_codec_data->codec);
--      avcodec_get_context_defaults3 (audio_codec_data->codec_context, 
audio_codec_data->codec);
- 
-       if(audio_codec_data->codec_context == NULL)
-       {
-Index: work/gview_v4l2core/jpeg_decoder.c
-===================================================================
---- work.orig/gview_v4l2core/jpeg_decoder.c
-+++ work/gview_v4l2core/jpeg_decoder.c
-@@ -1409,7 +1409,6 @@ int jpeg_init_decoder(int width, int hei
- 
- #if LIBAVCODEC_VER_AT_LEAST(53,6)
-       codec_data->context = avcodec_alloc_context3(codec_data->codec);
--      avcodec_get_context_defaults3 (codec_data->context, codec_data->codec);
- #else
-       codec_data->context = avcodec_alloc_context();
-       avcodec_get_context_defaults(codec_data->context);
-Index: work/gview_v4l2core/uvc_h264.c
-===================================================================
---- work.orig/gview_v4l2core/uvc_h264.c
-+++ work/gview_v4l2core/uvc_h264.c
-@@ -1004,7 +1004,6 @@ int h264_init_decoder(int width, int hei
- 
- #if LIBAVCODEC_VER_AT_LEAST(53,6)
-       h264_ctx->context = avcodec_alloc_context3(h264_ctx->codec);
--      avcodec_get_context_defaults3 (h264_ctx->context, h264_ctx->codec);
- #else
-       h264_ctx->context = avcodec_alloc_context();
-       avcodec_get_context_defaults(h264_ctx->context);

Reply via email to