This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avf: fix faulty check in has_duration
An invalid duration is AV_NOPTS_VALUE not 0.
tags/n0.11
Luca Barbato
13 years ago
parent
394dbde548
commit
8b97ae6484
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/utils.c
+ 1
- 1
libavformat/utils.c
View File
@@ -1823,7 +1823,7 @@ static int has_duration(AVFormatContext *ic)
if (st->duration != AV_NOPTS_VALUE)
if (st->duration != AV_NOPTS_VALUE)
return 1;
return 1;
}
}
if (ic->duration)
if (ic->duration
!= AV_NOPTS_VALUE
)
return 1;
return 1;
return 0;
return 0;
}
}
Write
Preview
Loading…
Cancel
Save