diff options
Diffstat (limited to 'libavcodec/vp6.c')
-rw-r--r-- | libavcodec/vp6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c index 31d47cd0df..df4ebf87dd 100644 --- a/libavcodec/vp6.c +++ b/libavcodec/vp6.c @@ -63,7 +63,7 @@ static int vp6_parse_header(vp56_context_t *s, uint8_t *buf, int buf_size, return 0; } if (separated_coeff || !s->filter_header) { - coeff_offset = BE_16(buf+2) - 2; + coeff_offset = AV_RB16(buf+2) - 2; buf += 2; buf_size -= 2; } @@ -95,7 +95,7 @@ static int vp6_parse_header(vp56_context_t *s, uint8_t *buf, int buf_size, return 0; if (separated_coeff || !s->filter_header) { - coeff_offset = BE_16(buf+1) - 2; + coeff_offset = AV_RB16(buf+1) - 2; buf += 2; buf_size -= 2; } |