summaryrefslogtreecommitdiff
path: root/libavcodec/aasc.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-10-14 11:33:18 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-10-21 11:51:07 +0200
commit3496cec43304ac040d6d05f9d500a6f93cc049e7 (patch)
treeb71dbc023a212e2b5c640ae2a1d25ade9d690047 /libavcodec/aasc.c
parentac981d16415e7fd99683e10297781c7d9ec1a8cd (diff)
msrle: Use AVFrame instead of AVPicture
Callers always use a frame and cast it to AVPicture, change ff_msrle_decode() to accept an AVFrame directly instead. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
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 462ee67786..9e70314964 100644
--- a/libavcodec/aasc.c
+++ b/libavcodec/aasc.c
@@ -85,7 +85,7 @@ static int aasc_decode_frame(AVCodecContext *avctx,
break;
case 1:
bytestream2_init(&s->gb, buf, buf_size);
- ff_msrle_decode(avctx, (AVPicture*)s->frame, 8, &s->gb);
+ ff_msrle_decode(avctx, s->frame, 8, &s->gb);
break;
default:
av_log(avctx, AV_LOG_ERROR, "Unknown compression type %d\n", compr);