mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-19 13:28:10 +08:00
Use AVDISCARD_DEFAULT for 0 where appropriate.
Originally committed as revision 22787 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
2
ffmpeg.c
2
ffmpeg.c
@ -2988,7 +2988,7 @@ static void opt_input_file(const char *filename)
|
|||||||
}else{
|
}else{
|
||||||
found=1;
|
found=1;
|
||||||
for(j=0; j<p->nb_stream_indexes; j++){
|
for(j=0; j<p->nb_stream_indexes; j++){
|
||||||
ic->streams[p->stream_index[j]]->discard= 0;
|
ic->streams[p->stream_index[j]]->discard= AVDISCARD_DEFAULT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user