diff options
Diffstat (limited to 'libavcodec/bintext.c')
-rw-r--r-- | libavcodec/bintext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/bintext.c b/libavcodec/bintext.c index 9c36b6ba01..1c9bc3e6a1 100644 --- a/libavcodec/bintext.c +++ b/libavcodec/bintext.c @@ -129,7 +129,7 @@ static void draw_char(AVCodecContext *avctx, int c, int a) } static int decode_frame(AVCodecContext *avctx, - void *data, int *data_size, + void *data, int *got_frame, AVPacket *avpkt) { XbinContext *s = avctx->priv_data; @@ -201,7 +201,7 @@ static int decode_frame(AVCodecContext *avctx, } } - *data_size = sizeof(AVFrame); + *got_frame = 1; *(AVFrame*)data = s->frame; return buf_size; } |