diff options
Diffstat (limited to 'libavcodec/rl2.c')
-rw-r--r-- | libavcodec/rl2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/rl2.c b/libavcodec/rl2.c index 7cbaca077c..afef8a77e8 100644 --- a/libavcodec/rl2.c +++ b/libavcodec/rl2.c @@ -181,8 +181,10 @@ static av_cold int rl2_decode_init(AVCodecContext *avctx) */ static int rl2_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; Rl2Context *s = avctx->priv_data; if(s->frame.data[0]) |