[vlc-devel] commit: Grmbl!!! ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Dec 2 18:01:27 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Dec  2 18:55:39 2008 +0200| [217290379388e6d196402b2e09536a1aa4857986] | committer: Rémi Denis-Courmont 

Grmbl!!!
(cherry picked from commit a684d0267892b3cafed7cbf2ae8175a806bb547d)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=217290379388e6d196402b2e09536a1aa4857986
---

 modules/demux/real.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/real.c b/modules/demux/real.c
index ef3a816..fa5f1ee 100644
--- a/modules/demux/real.c
+++ b/modules/demux/real.c
@@ -921,7 +921,7 @@ static void ReadRealIndex( demux_t *p_demux )
 
     msg_Dbg( p_demux, "Real Index : num : %d ", i_index_count );
 
-    if( i_index_count > ( 0xffffffff / sizeof( rm_index_t ) ) )
+    if( i_index_count >= ( 0xffffffff / sizeof( rm_index_t ) ) )
         return;
 
     if( GetDWBE( &buffer[16] ) > 0 )




More information about the vlc-devel mailing list