From: Damien Fouilleul Date: Sat, 13 Jan 2007 17:29:16 +0000 (+0000) Subject: live555: hmmm, that BITMAPINFOHEADER is only useful on mplayer, not vlc X-Git-Tag: 0.9.0-test0~8836 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d30de10d165fc6ae25c8cb27961046da823edf5d;p=vlc live555: hmmm, that BITMAPINFOHEADER is only useful on mplayer, not vlc --- 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 );