diff options
Diffstat (limited to 'media-video/guvcview/files/ffmpeg5.patch')
-rw-r--r-- | media-video/guvcview/files/ffmpeg5.patch | 47 |
1 files changed, 0 insertions, 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); |