From 64943b47e788fbb95d93ce8efe94d0919f3d7211 Mon Sep 17 00:00:00 2001 From: Jean First Date: Sat, 28 Apr 2012 15:38:41 +0200 Subject: [PATCH] lavf remove duplicated check in has_duration 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 Signed-off-by: Michael Niedermayer --- libavformat/utils.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index e33d9a49ff..d6e7f69ec5 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];