summaryrefslogtreecommitdiff
path: root/libavcodec/v308dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/v308dec.c')
-rw-r--r--libavcodec/v308dec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/v308dec.c b/libavcodec/v308dec.c
index e8eaeb4e19..b5567f8574 100644
--- a/libavcodec/v308dec.c
+++ b/libavcodec/v308dec.c
@@ -40,7 +40,7 @@ static av_cold int v308_decode_init(AVCodecContext *avctx)
}
static int v308_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;
@@ -81,7 +81,7 @@ static int v308_decode_frame(AVCodecContext *avctx, void *data,
v += pic->linesize[2];
}
- *data_size = sizeof(AVFrame);
+ *got_frame = 1;
*(AVFrame *)data = *pic;
return avpkt->size;