Commit 4861b7a0 authored by Frédéric Yhuel's avatar Frédéric Yhuel Committed by Jean-Baptiste Kempf

libmp4: rewind stream before falling back to avformat

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 93c8e746
...@@ -3609,6 +3609,7 @@ MP4_Box_t *MP4_BoxGetRoot( stream_t *s ) ...@@ -3609,6 +3609,7 @@ MP4_Box_t *MP4_BoxGetRoot( stream_t *s )
error: error:
free( p_root ); free( p_root );
stream_Seek( p_stream, 0 );
return NULL; return NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment