summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-05-17 16:48:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-05-17 16:57:16 +0200
commita4b6000b00850f74fabc06f673da49331d5fdf5d (patch)
tree37fa57c0461a6e2d41214fbe1b730f0ae81ef901 /ffmpeg.c
parentbec994dff22c5f3f0a5c7a96b333b3faab81c02d (diff)
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 <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
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);