[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.71,1.72
Michael Niedermayer CVS
michael at mplayerhq.hu
Sun Nov 24 12:28:47 CET 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv28688
Modified Files:
vd_ffmpeg.c
Log Message:
10l (broken ffmpeg12)
Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- vd_ffmpeg.c 20 Nov 2002 13:16:09 -0000 1.71
+++ vd_ffmpeg.c 24 Nov 2002 11:28:25 -0000 1.72
@@ -249,7 +249,8 @@
}
#if LIBAVCODEC_BUILD >= 4639
- avctx->bits_per_sample= sh->bih->biBitCount;
+ if(sh->bih)
+ avctx->bits_per_sample= sh->bih->biBitCount;
#endif
/* open it */
More information about the MPlayer-cvslog
mailing list