[FFmpeg-cvslog] vp9: fix compilation with !HAVE_FAST_64BIT.

Clément Bœsch git at videolan.org
Sun Feb 9 18:45:14 CET 2014


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Sun Feb  9 18:44:07 2014 +0100| [c333987876ba0d792ff2ca21348e5df284089d51] | committer: Clément Bœsch

vp9: fix compilation with !HAVE_FAST_64BIT.

Spotted-by: Carl Eugen Hoyos <cehoyos at ag.or.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c333987876ba0d792ff2ca21348e5df284089d51
---

 libavcodec/vp9.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index ea2a17b..341bccd 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -1302,7 +1302,7 @@ static av_always_inline void setctx_2d(uint8_t *ptr, int w, int h,
             ptr += stride;
         } while (--h);
 #else
-        uint32_t l32 = v * 0x01010101;
+        uint32_t v32 = v * 0x01010101;
         do {
             AV_WN32A(ptr,     v32);
             AV_WN32A(ptr + 4, v32);
@@ -1910,13 +1910,13 @@ static void decode_mode(AVCodecContext *ctx)
     case 2:  AV_WN16A(&var, val *     0x0101);  break; \
     case 4:  AV_WN32A(&var, val * 0x01010101);  break; \
     case 8: { \
-        uint32_t v32 = val * 0x01010101); \
+        uint32_t v32 = val * 0x01010101; \
         AV_WN32A(              &var,     v32); \
         AV_WN32A(&((uint8_t *) &var)[4], v32); \
         break; \
     } \
     case 16: { \
-        uint32_t v32 = val * 0x01010101); \
+        uint32_t v32 = val * 0x01010101; \
         AV_WN32A(              &var,      v32); \
         AV_WN32A(&((uint8_t *) &var)[4],  v32); \
         AV_WN32A(&((uint8_t *) &var)[8],  v32); \



More information about the ffmpeg-cvslog mailing list