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

marco subversion at mplayerhq.hu
Tue Aug 7 22:13:27 CEST 2007


Author: marco
Date: Tue Aug  7 22:13:27 2007
New Revision: 615

Log:
fix typo, now use the right weight for the second reference frame

Modified:
   dirac/libavcodec/dirac.c

Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c	(original)
+++ dirac/libavcodec/dirac.c	Tue Aug  7 22:13:27 2007
@@ -1988,7 +1988,7 @@ static int motion_comp(AVCodecContext *a
                 val1 *= s->frame_decoding.picture_weight_ref1;
                 val2 =  motion_comp_blockpred(avctx, ref1, 0, currblock,
                                               x, y, width, height, comp);
-                val2 *= s->frame_decoding.picture_weight_ref1;
+                val2 *= s->frame_decoding.picture_weight_ref2;
                 val = val1 + val2;
             }
 



More information about the FFmpeg-soc mailing list