diff options
Diffstat (limited to 'libavcodec/xxan.c')
-rw-r--r-- | libavcodec/xxan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/xxan.c b/libavcodec/xxan.c index 47b3544..ed18217 100644 --- a/libavcodec/xxan.c +++ b/libavcodec/xxan.c @@ -369,7 +369,7 @@ static int xan_decode_frame_type1(AVCodecContext *avctx) } static int xan_decode_frame(AVCodecContext *avctx, - void *data, int *data_size, + void *data, int *got_frame, AVPacket *avpkt) { XanContext *s = avctx->priv_data; @@ -401,7 +401,7 @@ static int xan_decode_frame(AVCodecContext *avctx, if (ret) return ret; - *data_size = sizeof(AVFrame); + *got_frame = 1; *(AVFrame*)data = s->pic; return avpkt->size; |