From d30de10d165fc6ae25c8cb27961046da823edf5d Mon Sep 17 00:00:00 2001 From: Damien Fouilleul Date: Sat, 13 Jan 2007 17:29:16 +0000 Subject: [PATCH] live555: hmmm, that BITMAPINFOHEADER is only useful on mplayer, not vlc --- modules/demux/live555.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp index a0d812e3ac..aa2435a2fc 100644 --- a/modules/demux/live555.cpp +++ b/modules/demux/live555.cpp @@ -29,7 +29,6 @@ #include /* malloc(), free() */ #include -#include #include #include #include @@ -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 ); -- 2.39.5