[FFmpeg-soc] [soc]: r614 - dirac/libavcodec/dirac.c
marco
subversion at mplayerhq.hu
Tue Aug 7 21:59:23 CEST 2007
Author: marco
Date: Tue Aug 7 21:59:23 2007
New Revision: 614
Log:
small bug fix in motion compensation
Modified:
dirac/libavcodec/dirac.c
Modified: dirac/libavcodec/dirac.c
==============================================================================
--- dirac/libavcodec/dirac.c (original)
+++ dirac/libavcodec/dirac.c Tue Aug 7 21:59:23 2007
@@ -1970,7 +1970,7 @@ static int motion_comp(AVCodecContext *a
if (currblock->use_ref[0] == 0 && currblock->use_ref[1] == 0) {
/* Intra */
val = currblock->dc[comp];
- val *= s->frame_decoding.picture_weight_precision;
+ val <<= s->frame_decoding.picture_weight_precision;
} else if (currblock->use_ref[0]) {
val = motion_comp_blockpred(avctx, ref1, 0, currblock,
x, y, width, height, comp);
More information about the FFmpeg-soc
mailing list