Commit 3979f15f authored by Francois Cartegnie's avatar Francois Cartegnie

demux: tta: fix heap buffer ofw (fix #12357)

parent 929970ae
......@@ -195,7 +195,7 @@ static int Demux( demux_t *p_demux )
demux_sys_t *p_sys = p_demux->p_sys;
block_t *p_data;
if( p_sys->i_currentframe > p_sys->i_totalframes )
if( p_sys->i_currentframe >= p_sys->i_totalframes )
return 0;
p_data = stream_Block( p_demux->s, p_sys->pi_seektable[p_sys->i_currentframe] );
......
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