diff options
Diffstat (limited to 'libavcodec/ulti.c')
-rw-r--r-- | libavcodec/ulti.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/ulti.c b/libavcodec/ulti.c index efc0592..31649f8 100644 --- a/libavcodec/ulti.c +++ b/libavcodec/ulti.c @@ -200,8 +200,10 @@ static void ulti_grad(AVFrame *frame, int x, int y, uint8_t *Y, int chroma, int static int ulti_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; UltimotionDecodeContext *s=avctx->priv_data; int modifier = 0; int uniq = 0; |