diff options
Diffstat (limited to 'libavcodec/wnv1.c')
-rw-r--r-- | libavcodec/wnv1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c index a99796632d..5dffde1fec 100644 --- a/libavcodec/wnv1.c +++ b/libavcodec/wnv1.c @@ -59,7 +59,7 @@ static inline int wnv1_get_code(WNV1Context *w, int base_value) } static int decode_frame(AVCodecContext *avctx, - void *data, int *data_size, + void *data, int *got_frame, AVPacket *avpkt) { const uint8_t *buf = avpkt->data; @@ -129,7 +129,7 @@ static int decode_frame(AVCodecContext *avctx, } - *data_size = sizeof(AVFrame); + *got_frame = 1; *(AVFrame*)data = l->pic; av_free(rbuf); |