diff options
Diffstat (limited to 'libavcodec/mimic.c')
-rw-r--r-- | libavcodec/mimic.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/mimic.c b/libavcodec/mimic.c index a6ab090e2d..da5bba3c2e 100644 --- a/libavcodec/mimic.c +++ b/libavcodec/mimic.c @@ -274,8 +274,10 @@ static void prepare_avpic(MimicContext *ctx, AVPicture *dst, AVPicture *src) } static int mimic_decode_frame(AVCodecContext *avctx, void *data, - int *data_size, const uint8_t *buf, int buf_size) + int *data_size, AVPacket *avpkt) { + const uint8_t *buf = avpkt->data; + int buf_size = avpkt->size; MimicContext *ctx = avctx->priv_data; int is_pframe; int width, height; |