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

Verbosely report EOF

(cherry picked from commit d9023722)
parent 96ac23c3
...@@ -494,7 +494,10 @@ static offset_t IOSeek( void *opaque, offset_t offset, int whence ) ...@@ -494,7 +494,10 @@ static offset_t IOSeek( void *opaque, offset_t offset, int whence )
if( i_absolute > i_size ) if( i_absolute > i_size )
i_absolute = i_size; i_absolute = i_size;
if( stream_Tell( p_demux->s ) >= i_size ) if( stream_Tell( p_demux->s ) >= i_size )
{
msg_Err( p_demux, "Seeking too far : EOF?" );
return -1; return -1;
}
} }
if( stream_Seek( p_demux->s, i_absolute ) ) if( stream_Seek( p_demux->s, i_absolute ) )
......
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