]> git.sesse.net Git - vlc/commitdiff
live555: hmmm, that BITMAPINFOHEADER is only useful on mplayer, not vlc
authorDamien Fouilleul <damienf@videolan.org>
Sat, 13 Jan 2007 17:29:16 +0000 (17:29 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Sat, 13 Jan 2007 17:29:16 +0000 (17:29 +0000)
modules/demux/live555.cpp

index a0d812e3ac34691850dcd0f848990cf0defe8e2b..aa2435a2fcf5e8c89675f64a4d052a3732cdc724 100644 (file)
@@ -29,7 +29,6 @@
 #include <stdlib.h>                                      /* malloc(), free() */
 #include <string.h>
 
-#include <vlc_codecs.h>
 #include <vlc_demux.h>
 #include <vlc_interface.h>
 #include <vlc_network.h>
@@ -1352,7 +1351,7 @@ static void StreamRead( void *p_private, unsigned int i_size,
                     if( atomLength == 0 || atomLength > endpos-pos) break;
                     if( memcmp(pos+4, "avcC", 4) == 0 &&
                         atomLength > 8 &&
-                        atomLength <= INT_MAX-sizeof(BITMAPINFOHEADER))
+                        atomLength <= INT_MAX )
                     {
                         tk->fmt.i_extra = atomLength-8;
                         tk->fmt.p_extra = malloc( tk->fmt.i_extra );