[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.19,1.20

Alex Beregszaszi alex at mplayerhq.hu
Thu May 2 18:10:52 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv26946

Modified Files:
	vd_ffmpeg.c 
Log Message:
10l

Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- vd_ffmpeg.c	2 May 2002 12:24:53 -0000	1.19
+++ vd_ffmpeg.c	2 May 2002 16:09:54 -0000	1.20
@@ -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')))
     {




More information about the MPlayer-cvslog mailing list