mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
lavf remove duplicated check in has_duration
this hunk was merged in8b97ae64
andcbf767a8
although the check was there a few lines above sincecdced09e
. I removed the first check to reduce the differences to libav. Signed-off-by: Jean First <jeanfirst@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
75d5624cb2
commit
64943b47e7
@ -1977,8 +1977,6 @@ static int has_duration(AVFormatContext *ic)
|
||||
{
|
||||
int i;
|
||||
AVStream *st;
|
||||
if(ic->duration != AV_NOPTS_VALUE)
|
||||
return 1;
|
||||
|
||||
for(i = 0;i < ic->nb_streams; i++) {
|
||||
st = ic->streams[i];
|
||||
|
Loading…
Reference in New Issue
Block a user