diff --git a/ffmpeg.c b/ffmpeg.c index e68620c3ab..a8167ede3f 100644 --- 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) {