Commit e9fdaf06 authored by Rafaël Carré's avatar Rafaël Carré

ASF: Use stream_Seek() if we only want to seek

parent 0bcda15e
...@@ -165,7 +165,7 @@ static int ASF_ReadObject_Header( stream_t *s, asf_object_t *p_obj ) ...@@ -165,7 +165,7 @@ static int ASF_ReadObject_Header( stream_t *s, asf_object_t *p_obj )
#endif #endif
/* Cannot fail as peek succeed */ /* Cannot fail as peek succeed */
stream_Read( s, NULL, 30 ); stream_Seek( s, stream_Tell( s ) + 30 );
/* Now load sub object */ /* Now load sub object */
for( ; ; ) for( ; ; )
......
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