mirror of https://github.com/mpv-player/mpv
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5941 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4db2e1351d
commit
6cbf7231c9
|
@ -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')))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue