From da7baaaae79b4d7d715d35ea6bcfbdd149edc177 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 29 Jan 2013 12:42:54 +0100 Subject: aasc: fix output for msrle compression. The bottom line was invalid before. CC:libav-stable@libav.org --- libavcodec/aasc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec') diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c index 7759c71a2f..823dcee4d5 100644 --- a/libavcodec/aasc.c +++ b/libavcodec/aasc.c @@ -77,7 +77,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: -- cgit v1.2.3