git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5941 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-05-02 16:09:54 +00:00
parent 4db2e1351d
commit 6cbf7231c9
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ static int init(sh_video_t *sh){
/* AVRn stores huffman table in AVI header */
/* Pegasus MJPEG stores it also in AVI header, but it uses the common
MJPG fourcc :( */
if ((sh->bih->biSize != sizeof(BITMAPINFOHEADER)) &&
if (sh->bih && (sh->bih->biSize != sizeof(BITMAPINFOHEADER)) &&
(sh->format == mmioFOURCC('A','V','R','n') ||
sh->format == mmioFOURCC('M','J','P','G')))
{