diff options
Diffstat (limited to 'libavcodec/nuv.c')
-rw-r--r-- | libavcodec/nuv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/nuv.c b/libavcodec/nuv.c index 09868e8907..67c9c0f9fb 100644 --- a/libavcodec/nuv.c +++ b/libavcodec/nuv.c @@ -143,7 +143,7 @@ static int codec_reinit(AVCodecContext *avctx, int width, int height, return 0; } -static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, +static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) { const uint8_t *buf = avpkt->data; @@ -283,7 +283,7 @@ retry: } *picture = c->pic; - *data_size = sizeof(AVFrame); + *got_frame = 1; return orig_size; } |