diff options
Diffstat (limited to 'libavcodec/xl.c')
-rw-r--r-- | libavcodec/xl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/xl.c b/libavcodec/xl.c index 3103ff4..df35489 100644 --- a/libavcodec/xl.c +++ b/libavcodec/xl.c @@ -42,7 +42,7 @@ static const int xl_table[32] = { }; static int decode_frame(AVCodecContext *avctx, - void *data, int *data_size, + void *data, int *got_frame, AVPacket *avpkt) { const uint8_t *buf = avpkt->data; @@ -128,7 +128,7 @@ static int decode_frame(AVCodecContext *avctx, V += a->pic.linesize[2]; } - *data_size = sizeof(AVFrame); + *got_frame = 1; *(AVFrame*)data = a->pic; return buf_size; |