diff --git a/modules/demux/tta.c b/modules/demux/tta.c index 6e616299d5ae5df319c8ea31540e12f928b23672..c95a9a156c5d310e38a905170d35c481f66ddbd6 100644 --- a/modules/demux/tta.c +++ b/modules/demux/tta.c @@ -256,7 +256,8 @@ static int Control( demux_t *p_demux, int i_query, va_list args ) { tmp += p_sys->pi_seektable[i]; } - vlc_stream_Seek( p_demux->s, tmp+p_sys->i_start ); + if( vlc_stream_Seek( p_demux->s, tmp+p_sys->i_start ) ) + return VLC_EGENERIC; p_sys->i_currentframe = i; return VLC_SUCCESS; }