Re: [FFmpeg-devel] [PATCH] libavformat/mov:the "stco" box parse no need return eof.

2017-11-30 Thread Michael Niedermayer
On Thu, Nov 30, 2017 at 03:18:47PM +0800, tiejun.peng wrote: > discard corrupted track and good track have chance to play. > > Signed-off-by: tiejun.peng > --- > libavformat/mov.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git

[FFmpeg-devel] [PATCH] libavformat/mov:the "stco" box parse no need return eof.

2017-11-29 Thread tiejun.peng
discard corrupted track and good track have chance to play. Signed-off-by: tiejun.peng --- libavformat/mov.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index c901859..5c2ce39 100644 ---

Re: [FFmpeg-devel] [PATCH] libavformat/mov:the "stco" box parse no need return eof.

2017-11-19 Thread Michael Niedermayer
On Sun, Nov 19, 2017 at 10:00:29PM +0800, tiejun.peng wrote: > if return eof, will cause to play the whole mp4 file fail. > For example, currently the whole file will play fail > when a few bytes missed in the "stco" box > and the "stco" box is the last box of MP4 file, > Actually the almost media

[FFmpeg-devel] [PATCH] libavformat/mov:the "stco" box parse no need return eof.

2017-11-19 Thread tiejun.peng
if return eof, will cause to play the whole mp4 file fail. For example, currently the whole file will play fail when a few bytes missed in the "stco" box and the "stco" box is the last box of MP4 file, Actually the almost media frames can play success at most time. A few words missed in "stco" box