[vlc-commits] libmp4: rewind stream before falling back to avformat
Frédéric Yhuel
git at videolan.org
Sun Jan 20 22:24:41 CET 2013
vlc | branch: master | Frédéric Yhuel <yhuelf at gmail.com> | Sun Jan 20 22:15:02 2013 +0100| [4861b7a0200e39e2f34900b74b0b8df9c32e1e1b] | committer: Jean-Baptiste Kempf
libmp4: rewind stream before falling back to avformat
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4861b7a0200e39e2f34900b74b0b8df9c32e1e1b
---
modules/demux/mp4/libmp4.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 9f467a0..8979691 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -3609,6 +3609,7 @@ MP4_Box_t *MP4_BoxGetRoot( stream_t *s )
error:
free( p_root );
+ stream_Seek( p_stream, 0 );
return NULL;
}
More information about the vlc-commits
mailing list