Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/qtrle.c')
-rw-r--r--libavcodec/qtrle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/qtrle.c b/libavcodec/qtrle.c
index 3f173a596b..02091d04bf 100644
--- a/libavcodec/qtrle.c
+++ b/libavcodec/qtrle.c
@@ -382,7 +382,7 @@ static av_cold int qtrle_decode_init(AVCodecContext *avctx)
}
static int qtrle_decode_frame(AVCodecContext *avctx,
- void *data, int *data_size,
+ void *data, int *got_frame,
AVPacket *avpkt)
{
QtrleContext *s = avctx->priv_data;
@@ -478,7 +478,7 @@ static int qtrle_decode_frame(AVCodecContext *avctx,
}
done:
- *data_size = sizeof(AVFrame);
+ *got_frame = 1;
*(AVFrame*)data = s->frame;
/* always report that the buffer was completely consumed */