diff options
Diffstat (limited to 'libavcodec/aasc.c')
-rw-r--r-- | libavcodec/aasc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c index c2758229b3..a136360572 100644 --- a/libavcodec/aasc.c +++ b/libavcodec/aasc.c @@ -82,7 +82,7 @@ static int aasc_decode_frame(AVCodecContext *avctx, } break; case 1: - bytestream2_init(&s->gb, buf - 4, buf_size + 4); + bytestream2_init(&s->gb, buf, buf_size); ff_msrle_decode(avctx, (AVPicture*)&s->frame, 8, &s->gb); break; default: |