Skip to content
Snippets Groups Projects
Commit acae96e0 authored by François Cartegnie's avatar François Cartegnie :fingers_crossed: Committed by Hugo Beauzée-Luyssen
Browse files

demux: oggseek: remove bos optimization

prevents blind seek to start of stream as granule is never read

(cherry picked from commit cd79514d)
parent 382cc2ee
No related branches found
No related tags found
2 merge requests!3533Backport MR 3236 to 3.0.x,!2252[3.0] demux: ogg: seek fixes
Pipeline #246024 passed with stages
in 16 minutes and 11 seconds
......@@ -321,9 +321,6 @@ static int64_t find_first_page_granule( demux_t *p_demux,
seek_byte( p_demux, i_pos1 );
if ( i_pos1 == p_stream->i_data_start )
return p_sys->i_input_position;
if ( i_bytes_to_read > OGGSEEK_BYTES_TO_READ ) i_bytes_to_read = OGGSEEK_BYTES_TO_READ;
while ( 1 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment