summaryrefslogtreecommitdiff
path: root/libavcodec/aasc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-18 02:10:10 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-18 02:10:10 +0100
commit29e0357a11680842a6b0313f76e0ca43e1f91501 (patch)
tree4179ba6e4ef0be02d7773579d5c5851526667709 /libavcodec/aasc.c
parent8152451b56ec23280c3c422bedbd08e578014ba0 (diff)
aasc: fix pointer vs value error
Fixes Ticket2365 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 d3bddc6439..26ba30dd14 100644
--- a/libavcodec/aasc.c
+++ b/libavcodec/aasc.c
@@ -101,7 +101,7 @@ static int aasc_decode_frame(AVCodecContext *avctx,
switch (avctx->codec_tag) {
case MKTAG('A', 'A', 'S', '4'):
bytestream2_init(&s->gb, buf - 4, buf_size + 4);
- ff_msrle_decode(avctx, (AVPicture*)&s->frame, 8, &s->gb);
+ ff_msrle_decode(avctx, (AVPicture*)s->frame, 8, &s->gb);
break;
case MKTAG('A', 'A', 'S', 'C'):
switch (compr) {