diff options
Diffstat (limited to 'libavcodec/v408dec.c')
-rw-r--r-- | libavcodec/v408dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/v408dec.c b/libavcodec/v408dec.c index 37f1d6ee87..470853d551 100644 --- a/libavcodec/v408dec.c +++ b/libavcodec/v408dec.c @@ -37,7 +37,7 @@ static av_cold int v408_decode_init(AVCodecContext *avctx) } static int v408_decode_frame(AVCodecContext *avctx, void *data, - int *data_size, AVPacket *avpkt) + int *got_frame, AVPacket *avpkt) { AVFrame *pic = avctx->coded_frame; const uint8_t *src = avpkt->data; @@ -88,7 +88,7 @@ static int v408_decode_frame(AVCodecContext *avctx, void *data, a += pic->linesize[3]; } - *data_size = sizeof(AVFrame); + *got_frame = 1; *(AVFrame *)data = *pic; return avpkt->size; |