diff options
Diffstat (limited to 'libavcodec/vcr1.c')
-rw-r--r-- | libavcodec/vcr1.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c index 21136289d5..6218c7c634 100644 --- a/libavcodec/vcr1.c +++ b/libavcodec/vcr1.c @@ -43,8 +43,10 @@ typedef struct VCR1Context{ 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; VCR1Context * const a = avctx->priv_data; AVFrame *picture = data; AVFrame * const p= (AVFrame*)&a->picture; |