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

Verbosely report EOF

parent e91f2120
......@@ -497,8 +497,11 @@ static offset_t IOSeek( void *opaque, offset_t offset, int whence )
if( i_absolute > i_size )
i_absolute = i_size;
if( stream_Tell( p_demux->s ) >= i_size )
{
msg_Err( p_demux, "Seeking too far : EOF?" );
return -1;
}
}
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