[Mplayer-cvslog] CVS: main/libmpcodecs vf_spp.c,1.24,1.25
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Thu Oct 21 18:47:45 CEST 2004
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv1927/libmpcodecs
Modified Files:
vf_spp.c
Log Message:
crash with Y8 colourspace fixed
Index: vf_spp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_spp.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- vf_spp.c 21 Oct 2004 11:55:19 -0000 1.24
+++ vf_spp.c 21 Oct 2004 16:47:42 -0000 1.25
@@ -384,6 +384,7 @@
DCTELEM *block = (DCTELEM *)block_align;
DCTELEM *block2= (DCTELEM *)(block_align+16);
+ if (!src || !dst) return; // HACK avoid crash for Y8 colourspace
for(y=0; y<height; y++){
int index= 8 + 8*stride + y*stride;
memcpy(p->src + index, src + y*src_stride, width);
More information about the MPlayer-cvslog
mailing list