diff --git a/ffmpeg.c b/ffmpeg.c index 60c313d8e8..d42052d8df 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -1064,13 +1064,9 @@ static void do_video_out(AVFormatContext *s, { int nb_frames, i, ret; AVFrame *final_picture, *formatted_picture, *resampling_dst, *padding_src; - AVFrame picture_crop_temp, picture_pad_temp; AVCodecContext *enc, *dec; double sync_ipts; - avcodec_get_frame_defaults(&picture_crop_temp); - avcodec_get_frame_defaults(&picture_pad_temp); - enc = ost->st->codec; dec = ist->st->codec;