diff options
Diffstat (limited to 'libavcodec/idcinvideo.c')
-rw-r--r-- | libavcodec/idcinvideo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/idcinvideo.c b/libavcodec/idcinvideo.c index 6e7bcb2484..064e55f867 100644 --- a/libavcodec/idcinvideo.c +++ b/libavcodec/idcinvideo.c @@ -213,7 +213,7 @@ static int idcin_decode_vlcs(IdcinContext *s) } static int idcin_decode_frame(AVCodecContext *avctx, - void *data, int *data_size, + void *data, int *got_frame, AVPacket *avpkt) { const uint8_t *buf = avpkt->data; @@ -243,7 +243,7 @@ static int idcin_decode_frame(AVCodecContext *avctx, /* make the palette available on the way out */ memcpy(s->frame.data[1], s->pal, AVPALETTE_SIZE); - *data_size = sizeof(AVFrame); + *got_frame = 1; *(AVFrame*)data = s->frame; /* report that the buffer was completely consumed */ |