aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aasc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-01-29 12:42:54 +0100
committerReinhard Tartler <siretart@tauware.de>2013-02-07 07:18:56 +0100
commit1f8bf163e4b430d1a6e14d8867f3d47f50d5425e (patch)
tree9491f1c318176280ce93135f734b869988618f6b /libavcodec/aasc.c
parent108ca6fad1e0e9af8d6337f908bfd23807b7fbd6 (diff)
downloadffmpeg-1f8bf163e4b430d1a6e14d8867f3d47f50d5425e.tar.gz
aasc: fix output for msrle compression.
The bottom line was invalid before. CC:libav-stable@libav.org (cherry picked from commit da7baaaae79b4d7d715d35ea6bcfbdd149edc177) Conflicts: cmdutils.c
Diffstat (limited to 'libavcodec/aasc.c')
-rw-r--r--libavcodec/aasc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c
index 47d25d0d09..7063cbeec8 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: