]> git.sesse.net Git - vlc/commitdiff
Patch to fix ticket #1162 by npl at chello.at.
authorJean-Paul Saman <jpsaman@videolan.org>
Sun, 22 Apr 2007 08:37:38 +0000 (08:37 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Sun, 22 Apr 2007 08:37:38 +0000 (08:37 +0000)
modules/demux/avi/libavi.c

index 40ace553d01911e1e93fac6efdf6949cca2ec5b9..33962bb3d41873798d8a79186b079b5a9a68d97e 100644 (file)
@@ -173,7 +173,7 @@ static int AVI_ChunkRead_list( stream_t *s, avi_chunk_t *p_container )
             break;
         }
         if( p_chk->common.p_father->common.i_chunk_size > 0 &&
-           ( stream_Tell( s ) >=
+           ( stream_Tell( s ) >
               (off_t)p_chk->common.p_father->common.i_chunk_pos +
                (off_t)__EVEN( p_chk->common.p_father->common.i_chunk_size ) ) )
         {