Add quant_table_index to ffv1 PlaneContext and use it instead of duplicating the...
[ffmpeg.git] / ffmpeg.c
index 60c313d..d42052d 100644 (file)
--- 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;