diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-10 22:12:30 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-10 22:12:30 +0000 |
commit | 8fc0162ac44f3e60798552ca6d19387be95cae4c (patch) | |
tree | 443f7c684a3a8be0e9b70d67a91b8572bfa1ddd2 /libavcodec/v210dec.c | |
parent | e6b22522c94cfccda97018e52ab65da8c69d8a56 (diff) | |
download | ffmpeg-8fc0162ac44f3e60798552ca6d19387be95cae4c.tar.gz |
Add av_ prefix to bswap macros
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/v210dec.c')
-rw-r--r-- | libavcodec/v210dec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c index 4cf8f73c19..61e9566c87 100644 --- a/libavcodec/v210dec.c +++ b/libavcodec/v210dec.c @@ -68,7 +68,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, #define READ_PIXELS(a, b, c) \ do { \ - val = le2ne_32(*src++); \ + val = av_le2ne32(*src++); \ *a++ = val << 6; \ *b++ = (val >> 4) & 0xFFC0; \ *c++ = (val >> 14) & 0xFFC0; \ @@ -86,14 +86,14 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, if (w < avctx->width - 1) { READ_PIXELS(u, y, v); - val = le2ne_32(*src++); + val = av_le2ne32(*src++); *y++ = val << 6; } if (w < avctx->width - 3) { *u++ = (val >> 4) & 0xFFC0; *y++ = (val >> 14) & 0xFFC0; - val = le2ne_32(*src++); + val = av_le2ne32(*src++); *v++ = val << 6; *y++ = (val >> 4) & 0xFFC0; } |