Merge commit '674fa49110a661694188a958be13d529b7c8c5dd'
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 11 Dec 2013 22:36:10 +0000 (23:36 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 11 Dec 2013 22:36:10 +0000 (23:36 +0100)
* commit '674fa49110a661694188a958be13d529b7c8c5dd':
  avconv: do not call avcodec_get_frame_defaults()

Conflicts:
ffmpeg.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c

index e68620c..a8167ed 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1080,8 +1080,7 @@ static int reap_filters(void)
 
         if (!ost->filtered_frame && !(ost->filtered_frame = av_frame_alloc())) {
             return AVERROR(ENOMEM);
-        } else
-            avcodec_get_frame_defaults(ost->filtered_frame);
+        }
         filtered_frame = ost->filtered_frame;
 
         while (1) {