diff options
Diffstat (limited to 'libavcodec/msrle.c')
-rw-r--r-- | libavcodec/msrle.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c index 2b477d9427..0d77e30c5e 100644 --- a/libavcodec/msrle.c +++ b/libavcodec/msrle.c @@ -63,8 +63,10 @@ static av_cold int msrle_decode_init(AVCodecContext *avctx) static int msrle_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - const uint8_t *buf, int buf_size) + AVPacket *avpkt) { + const uint8_t *buf = avpkt->data; + int buf_size = avpkt->size; MsrleContext *s = avctx->priv_data; s->buf = buf; |