diff options
Diffstat (limited to 'libavcodec/ansi.c')
-rw-r--r-- | libavcodec/ansi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ansi.c b/libavcodec/ansi.c index 961c57b5f2..8b2ef11921 100644 --- a/libavcodec/ansi.c +++ b/libavcodec/ansi.c @@ -339,7 +339,7 @@ static int execute_code(AVCodecContext * avctx, int c) } static int decode_frame(AVCodecContext *avctx, - void *data, int *data_size, + void *data, int *got_frame, AVPacket *avpkt) { AnsiContext *s = avctx->priv_data; @@ -442,7 +442,7 @@ static int decode_frame(AVCodecContext *avctx, buf++; } - *data_size = sizeof(AVFrame); + *got_frame = 1; *(AVFrame*)data = s->frame; return buf_size; } |