mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-03 02:17:45 +00:00
Add av_ prefix to bswap macros
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e6b22522c9
commit
8fc0162ac4
51 changed files with 175 additions and 175 deletions
|
@ -61,7 +61,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
|
|||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue