diff options
Diffstat (limited to 'libavcodec/iff.c')
-rw-r--r-- | libavcodec/iff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/iff.c b/libavcodec/iff.c index 1f07492..0e4c172 100644 --- a/libavcodec/iff.c +++ b/libavcodec/iff.c @@ -591,7 +591,7 @@ static int unsupported(AVCodecContext *avctx) } static int decode_frame(AVCodecContext *avctx, - void *data, int *data_size, + void *data, int *got_frame, AVPacket *avpkt) { IffContext *s = avctx->priv_data; @@ -784,7 +784,7 @@ static int decode_frame(AVCodecContext *avctx, return unsupported(avctx); } - *data_size = sizeof(AVFrame); + *got_frame = 1; *(AVFrame*)data = s->frame; return buf_size; } |