mirror of
https://github.com/mpv-player/mpv
synced 2025-04-03 20:35:31 +02:00
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 */
|
/* AVRn stores huffman table in AVI header */
|
||||||
/* Pegasus MJPEG stores it also in AVI header, but it uses the common
|
/* Pegasus MJPEG stores it also in AVI header, but it uses the common
|
||||||
MJPG fourcc :( */
|
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('A','V','R','n') ||
|
||||||
sh->format == mmioFOURCC('M','J','P','G')))
|
sh->format == mmioFOURCC('M','J','P','G')))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user