From 29e0357a11680842a6b0313f76e0ca43e1f91501 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 18 Mar 2013 02:10:10 +0100 Subject: [PATCH] aasc: fix pointer vs value error Fixes Ticket2365 Signed-off-by: Michael Niedermayer --- libavcodec/aasc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {