Commit 29e0357a authored by Michael Niedermayer's avatar Michael Niedermayer

aasc: fix pointer vs value error

Fixes Ticket2365
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8152451b
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment