diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-02 16:09:54 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-05-02 16:09:54 +0000 |
commit | 6cbf7231c9586968b0cb6df06dc556bacf2a8e99 (patch) | |
tree | 10e1cb846bd3d038cc442059f59137b3c2bdd734 | |
parent | 4db2e1351dcd7351c59e4f6a8cf02364453fbdec (diff) |
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5941 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/vd_ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index d0a03e2a1f..7080ebf428 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -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'))) { |