Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Set duration to zero if the duration is UINT_MAX

2016-11-03 Thread Sasi Inguva
ping. Thanks! On Mon, Oct 31, 2016 at 10:25 PM, Sasi Inguva wrote: > For MP4F files , stream duration is updated by the sum of duration of > moof's http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavformat/mov.c;h= > 414007e7aa128aa66e07395b42c0cd4b369b3146;hb=HEAD#l4193 ,

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Set duration to zero if the duration is UINT_MAX

2016-10-31 Thread Sasi Inguva
For MP4F files , stream duration is updated by the sum of duration of moof's http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavformat/mov.c;h=414007e7aa128aa66e07395b42c0cd4b369b3146;hb=HEAD#l4193 , only if the duration in the header is less than that. Normally duration field in header is 0, so

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Set duration to zero if the duration is UINT_MAX

2016-10-31 Thread Yusuke Nakamura
2016-10-27 4:40 GMT+09:00 Sasi Inguva : > Fixes some MP4F files which have duration in mdhd set to UINT_MAX instead > of zero. > What does this patch fix? > > Signed-off-by: Sasi Inguva > --- > libavformat/mov.c | 5 + > 1 file changed, 5

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Set duration to zero if the duration is UINT_MAX

2016-10-31 Thread Sasi Inguva
ping. Thanks! On Wed, Oct 26, 2016 at 12:42 PM, Sasi Inguva wrote: > Attaching the file that it fixes. > > > On Wed, Oct 26, 2016 at 12:40 PM, Sasi Inguva wrote: > >> Fixes some MP4F files which have duration in mdhd set to UINT_MAX instead >> of zero. >>

[FFmpeg-devel] [PATCH] lavf/mov.c: Set duration to zero if the duration is UINT_MAX

2016-10-26 Thread Sasi Inguva
Fixes some MP4F files which have duration in mdhd set to UINT_MAX instead of zero. Signed-off-by: Sasi Inguva --- libavformat/mov.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 357d800..245e424 100644 ---