From a4b6000b00850f74fabc06f673da49331d5fdf5d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 17 May 2011 16:48:39 +0200 Subject: [PATCH] ffmpeg: reset top_field_first in opt_input_file(). This allows seting tff for inputs without also setting it for the output Signed-off-by: Michael Niedermayer --- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffmpeg.c b/ffmpeg.c index 6ab6b9971a..ca44c82b86 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -3456,6 +3456,7 @@ static void opt_input_file(const char *filename) nb_input_files++; video_channel = 0; + top_field_first = -1; av_freep(&video_codec_name); av_freep(&audio_codec_name);