diff r210dec.c @ 12129:8b28e74de2c0 libavcodec

Add av_ prefix to bswap macros
author mru
date Sat, 10 Jul 2010 22:12:30 +0000
parents ee740a4e80c5
children e1a4ceb96a07
line wrap: on
line diff
--- a/r210dec.c	Sat Jul 10 22:09:01 2010 +0000
+++ b/r210dec.c	Sat Jul 10 22:12:30 2010 +0000
@@ -61,7 +61,7 @@
     for (h = 0; h < avctx->height; h++) {
         uint16_t *dst = (uint16_t *)dst_line;
         for (w = 0; w < avctx->width; w++) {
-            uint32_t pixel = be2ne_32(*src++);
+            uint32_t pixel = av_be2ne32(*src++);
             uint16_t r, g, b;
             b =  pixel <<  6;
             g = (pixel >>  4) & 0xffc0;