Commit 85c03f04 authored by yhuelf's avatar yhuelf Committed by Jean-Baptiste Kempf
Browse files

libmp4: small bug fix

When MP4_ReadBoxContainerChildren() returns, one expects the position in
the stream to be that of the next box after the last parsed box.

Without this very patch, if the last parsed box is an "unknown" one,
the position in the stream would be at the begining of that box,
preventing playback of latest Anevia's MS Smooth Streaming live streams,
for example.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent e7d5b1bf
......@@ -215,7 +215,10 @@ static int MP4_ReadBoxContainerChildren( stream_t *p_stream,
p_container->p_last = p_box;
if( p_box->i_type == i_last_child )
MP4_NextBox( p_stream, p_box );
} while( MP4_NextBox( p_stream, p_box ) == 1 );
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