diff options
Diffstat (limited to 'libavcodec/asv1.c')
-rw-r--r-- | libavcodec/asv1.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c index 7626873133..81dc18dacc 100644 --- a/libavcodec/asv1.c +++ b/libavcodec/asv1.c @@ -387,8 +387,10 @@ static inline void dct_get(ASV1Context *a, int mb_x, int mb_y){ 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; ASV1Context * const a = avctx->priv_data; AVFrame *picture = data; AVFrame * const p= (AVFrame*)&a->picture; |