From c214e986347447b011790fa2b874016bf1d558ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Mon, 13 Feb 2012 23:23:15 +0100 Subject: ffmpeg: remove pointless avcodec_get_frame_defaults(). filtered_frame is overwritten just below anyway. --- ffmpeg.c | 1 - 1 file changed, 1 deletion(-) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index 03bcccd81d..0cb9ba1d1b 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2139,7 +2139,6 @@ static int transcode_video(InputStream *ist, AVPacket *pkt, int *got_output, int ret = AVERROR(ENOMEM); goto end; } - avcodec_get_frame_defaults(ist->filtered_frame); filtered_frame = ist->filtered_frame; *filtered_frame= *decoded_frame; //for me_threshold if (ost->picref) { -- cgit v1.2.3