[FFmpeg-devel] [PATCH] lavf remove duplicated check in has_duration
Jean First
jeanfirst at gmail.com
Sat Apr 28 15:38:41 CEST 2012
this hunk was merged in 8b97ae64 and cbf767a8 although the check was there a
few lines above since cdced09e. I removed the first check to reduce the differences
to libav.
Signed-off-by: Jean First <jeanfirst at gmail.com>
---
libavformat/utils.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index e33d9a4..d6e7f69 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -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];
--
1.7.9.4
More information about the ffmpeg-devel
mailing list