[vlc-commits] demux: tta: fix heap buffer ofw (fix #12357)
Francois Cartegnie
git at videolan.org
Thu Oct 9 13:41:34 CEST 2014
vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Oct 8 17:09:44 2014 +0200| [e8a2b2997d5bb64180787f8cdf8480973be53edc] | committer: Jean-Baptiste Kempf
demux: tta: fix heap buffer ofw (fix #12357)
(cherry picked from commit 3979f15fc235f576f5ed4278ffe06eab53425bf4)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=e8a2b2997d5bb64180787f8cdf8480973be53edc
---
modules/demux/tta.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/tta.c b/modules/demux/tta.c
index 606cb07..be48a9a 100644
--- a/modules/demux/tta.c
+++ b/modules/demux/tta.c
@@ -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] );
More information about the vlc-commits
mailing list