diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-10-14 12:33:18 +0300 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-10-21 12:51:07 +0300 |
commit | 3496cec43304ac040d6d05f9d500a6f93cc049e7 (patch) | |
tree | b71dbc023a212e2b5c640ae2a1d25ade9d690047 /libavcodec/aasc.c | |
parent | ac981d16415e7fd99683e10297781c7d9ec1a8cd (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.c | 2 |
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); |