diff options
author | Spec-Chum <spec-chum@users.sourceforge.net> | 2010-06-28 13:52:29 +0400 |
---|---|---|
committer | Spec-Chum <spec-chum@users.sourceforge.net> | 2010-06-28 13:52:29 +0400 |
commit | d689241854077b6efc7a62f0e4f5b3bd414228e6 (patch) | |
tree | 8bc1c3300a160572b01845c5cabf01f59424030a /src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/vp3dsp.c | |
parent | 4a0275d8a6340469646ef0e07fe8121875051ad0 (diff) |
Updated ffmpeg (patch by XhmikosR) - Unresolved externals fixed by Spec-Chum
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2082 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/vp3dsp.c')
-rw-r--r-- | src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/vp3dsp.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/vp3dsp.c b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/vp3dsp.c index 3633a52d6..706bd1c27 100644 --- a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/vp3dsp.c +++ b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/vp3dsp.c @@ -224,18 +224,18 @@ void ff_vp3_idct_add_c(uint8_t *dest/*align 8*/, int line_size, DCTELEM *block/* }
void ff_vp3_idct_dc_add_c(uint8_t *dest/*align 8*/, int line_size, const DCTELEM *block/*align 16*/){
- const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
int i, dc = (block[0] + 15) >> 5;
+ const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP + dc;
for(i = 0; i < 8; i++){
- dest[0] = cm[dest[0]+dc];
- dest[1] = cm[dest[1]+dc];
- dest[2] = cm[dest[2]+dc];
- dest[3] = cm[dest[3]+dc];
- dest[4] = cm[dest[4]+dc];
- dest[5] = cm[dest[5]+dc];
- dest[6] = cm[dest[6]+dc];
- dest[7] = cm[dest[7]+dc];
+ dest[0] = cm[dest[0]];
+ dest[1] = cm[dest[1]];
+ dest[2] = cm[dest[2]];
+ dest[3] = cm[dest[3]];
+ dest[4] = cm[dest[4]];
+ dest[5] = cm[dest[5]];
+ dest[6] = cm[dest[6]];
+ dest[7] = cm[dest[7]];
dest += line_size;
}
}
|