From cf60d669a6a5405b8ecdc5d2f59296e1c6b5198b Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Wed, 30 Jun 2010 22:33:38 +0000 Subject: Add more int packing macros, name them consistently Originally committed as revision 23916 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264pred.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/h264pred.c') diff --git a/libavcodec/h264pred.c b/libavcodec/h264pred.c index 64c4882f89..5706c97e16 100644 --- a/libavcodec/h264pred.c +++ b/libavcodec/h264pred.c @@ -109,7 +109,7 @@ static void pred4x4_vertical_vp8_c(uint8_t *src, const uint8_t *topright, int st const int lt= src[-1-1*stride]; LOAD_TOP_EDGE LOAD_TOP_RIGHT_EDGE - uint32_t v = PACK4UINT8((lt + 2*t0 + t1 + 2) >> 2, + uint32_t v = PACK_4U8((lt + 2*t0 + t1 + 2) >> 2, (t0 + 2*t1 + t2 + 2) >> 2, (t1 + 2*t2 + t3 + 2) >> 2, (t2 + 2*t3 + t4 + 2) >> 2); -- cgit v1.2.3