Mercurial > mplayer.hg
changeset 5940:dd7b88bb76aa
10l
author | alex |
---|---|
date | Thu, 02 May 2002 16:09:54 +0000 |
parents | 65ee86f5a45f |
children | f2bad7299936 |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Thu May 02 12:24:53 2002 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Thu May 02 16:09:54 2002 +0000 @@ -104,7 +104,7 @@ /* 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'))) {