diff options
Diffstat (limited to 'libavcodec/wnv1.c')
-rw-r--r-- | libavcodec/wnv1.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c index 7c0105f1ef..fa3a308dc0 100644 --- a/libavcodec/wnv1.c +++ b/libavcodec/wnv1.c @@ -58,8 +58,10 @@ static inline int wnv1_get_code(WNV1Context *w, int base_value) 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; WNV1Context * const l = avctx->priv_data; AVFrame * const p= (AVFrame*)&l->pic; unsigned char *Y,*U,*V; |