summaryrefslogtreecommitdiff
path: root/libavcodec/vp3dsp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-23 16:52:05 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-23 16:52:09 +0100
commit516f30ed20828c04459cb2fd3b18a0bd2de4cdf0 (patch)
treeac3ebb07e51372de8a815b417f89c5c61e135adb /libavcodec/vp3dsp.c
parent0ff21c316534776f9b3ba5ae51242ae1a976909e (diff)
parent0ee8293a77a6afad161e91ce1d43c4a57ce33a6a (diff)
Merge commit '0ee8293a77a6afad161e91ce1d43c4a57ce33a6a'
* commit '0ee8293a77a6afad161e91ce1d43c4a57ce33a6a': vp3dsp: don't do aligned reads on input. mlp_parser: cosmetics: re-indent. Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp3dsp.c')
-rw-r--r--libavcodec/vp3dsp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/vp3dsp.c b/libavcodec/vp3dsp.c
index 6db80c8d00..df39007649 100644
--- a/libavcodec/vp3dsp.c
+++ b/libavcodec/vp3dsp.c
@@ -282,11 +282,11 @@ static void put_no_rnd_pixels_l2(uint8_t *dst, const uint8_t *src1,
for (i = 0; i < h; i++) {
uint32_t a, b;
- a = AV_RN32A(&src1[i * stride]);
- b = AV_RN32A(&src2[i * stride]);
+ a = AV_RN32(&src1[i * stride]);
+ b = AV_RN32(&src2[i * stride]);
AV_WN32A(&dst[i * stride], no_rnd_avg32(a, b));
- a = AV_RN32A(&src1[i * stride + 4]);
- b = AV_RN32A(&src2[i * stride + 4]);
+ a = AV_RN32(&src1[i * stride + 4]);
+ b = AV_RN32(&src2[i * stride + 4]);
AV_WN32A(&dst[i * stride + 4], no_rnd_avg32(a, b));
}
}