diff options
Diffstat (limited to 'libavcodec/rpza.c')
-rw-r--r-- | libavcodec/rpza.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/rpza.c b/libavcodec/rpza.c index 27ed71f937..ba276c55e0 100644 --- a/libavcodec/rpza.c +++ b/libavcodec/rpza.c @@ -241,8 +241,10 @@ static av_cold int rpza_decode_init(AVCodecContext *avctx) static int rpza_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; RpzaContext *s = avctx->priv_data; s->buf = buf; |