From 18590be6550c31299e047726b5e04cc3fae8806c Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Fri, 2 Apr 2010 23:08:23 +0000 Subject: [PATCH] Use AVDISCARD_DEFAULT for 0 where appropriate. Originally committed as revision 22787 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index b7460628e6..37ed1653f0 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2988,7 +2988,7 @@ static void opt_input_file(const char *filename) }else{ found=1; for(j=0; jnb_stream_indexes; j++){ - ic->streams[p->stream_index[j]]->discard= 0; + ic->streams[p->stream_index[j]]->discard= AVDISCARD_DEFAULT; } } }