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: has_duration does not check the global one
Some container formats report a global duration, but not a per stream one.
tags/n0.11
Luca Barbato
13 years ago
parent
b089ca871a
commit
cbf767a87c
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavformat/utils.c
+ 2
- 0
libavformat/utils.c
View File
@@ -1823,6 +1823,8 @@ static int has_duration(AVFormatContext *ic)
if (st->duration != AV_NOPTS_VALUE)
return 1;
}
if (ic->duration)
return 1;
return 0;
}
Write
Preview
Loading…
Cancel
Save