diff options
Diffstat (limited to 'libavcodec/cljr.c')
-rw-r--r-- | libavcodec/cljr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/cljr.c b/libavcodec/cljr.c index 9f7ab61efd..9157b00137 100644 --- a/libavcodec/cljr.c +++ b/libavcodec/cljr.c @@ -42,8 +42,10 @@ typedef struct CLJRContext{ static int 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; CLJRContext * const a = avctx->priv_data; AVFrame *picture = data; AVFrame * const p= (AVFrame*)&a->picture; |