aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-01-29 12:42:54 +0100
committerAnton Khirnov <anton@khirnov.net>2013-02-06 10:21:52 +0100
commitda7baaaae79b4d7d715d35ea6bcfbdd149edc177 (patch)
tree3da457f4276e674c9cef31554b20556c98ee2462 /libavcodec
parent9bd6375d5f16842306dcecde637ffe605acda26b (diff)
downloadffmpeg-da7baaaae79b4d7d715d35ea6bcfbdd149edc177.tar.gz
aasc: fix output for msrle compression.
The bottom line was invalid before. CC:libav-stable@libav.org
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/aasc.c2
1 files changed, 1 insertions, 1 deletions
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: