[FFmpeg-soc] [soc]: r1249 - dirac/libavcodec/dirac.c

marco subversion at mplayerhq.hu
Thu Aug 30 19:00:28 CEST 2007


Author: marco
Date: Thu Aug 30 19:00:28 2007
New Revision: 1249

Log:
fix bug in determining the vertical range

Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Thu Aug 30 19:00:28 2007
@@ -2166,7 +2166,7 @@ START_TIMER
             val2 *= s->frame_decoding.picture_weight_ref2;
             val = val1 + val2;
             if (i > 0 && j > 0
-                && i < s->current_blwidth - 1 && j < s->current_blwidth - 1) {
+                && i < s->current_blwidth - 1 && j < s->current_blheight - 1) {
                 val *= spatialwt[bx];
             } else {
                 val = (val



More information about the FFmpeg-soc mailing list