diff options
Diffstat (limited to 'libavcodec/eacmv.c')
-rw-r--r-- | libavcodec/eacmv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/eacmv.c b/libavcodec/eacmv.c index 18321aada5..3de08cc1a0 100644 --- a/libavcodec/eacmv.c +++ b/libavcodec/eacmv.c @@ -144,8 +144,10 @@ static void cmv_process_header(CmvContext *s, const uint8_t *buf, const uint8_t static int cmv_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; CmvContext *s = avctx->priv_data; const uint8_t *buf_end = buf + buf_size; |