[MPlayer-cvslog] CVS: main/libmpcodecs vf_dint.c,1.3,1.4

Reimar Döffinger CVS syncmail at mplayerhq.hu
Thu Jul 28 11:58:34 CEST 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv1005

Modified Files:
	vf_dint.c 
Log Message:
Fix crash with large images


Index: vf_dint.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_dint.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- vf_dint.c	15 Mar 2003 18:01:02 -0000	1.3
+++ vf_dint.c	28 Jul 2005 09:58:32 -0000	1.4
@@ -76,6 +76,7 @@
     unsigned char *cur0, *prv0;
     register unsigned char *cur, *prv;
 
+    if (rowsize > MAXROWSIZE) rowsize = MAXROWSIZE;
     // check if nothing to do
     if (mpi->imgfmt == vf->priv->imgfmt)
     {




More information about the MPlayer-cvslog mailing list