[xiph-commits] r14341 - trunk/theora-exp/lib

tterribe at svn.xiph.org tterribe at svn.xiph.org
Fri Jan 4 09:29:02 PST 2008


Author: tterribe
Date: 2008-01-04 09:29:00 -0800 (Fri, 04 Jan 2008)
New Revision: 14341

Modified:
   trunk/theora-exp/lib/state.c
Log:
Port r13909 from the mainline.


Modified: trunk/theora-exp/lib/state.c
===================================================================
--- trunk/theora-exp/lib/state.c	2008-01-04 12:00:53 UTC (rev 14340)
+++ trunk/theora-exp/lib/state.c	2008-01-04 17:29:00 UTC (rev 14341)
@@ -623,7 +623,7 @@
   iplane=_state->ref_frame_bufs[_refi]+_pli;
   fullw=iplane->width+(hpadding<<1);
   apix=iplane->data-hpadding;
-  bpix=iplane->data+(iplane->height-1)*iplane->ystride;
+  bpix=iplane->data+(iplane->height-1)*iplane->ystride-hpadding;
   epix=apix-iplane->ystride*vpadding;
   while(apix!=epix){
     memcpy(apix-iplane->ystride,apix,fullw);



More information about the commits mailing list