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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Plate <elupus@ecce.se>2011-09-10 23:50:45 +0400
committerMichael Niedermayer <michaelni@gmx.at>2011-09-11 00:10:00 +0400
commit8fd1da5bd2661ea93c7f9e1eab22d5ed43389e1c (patch)
tree7934bbc15d6f8ff62b3eab3ecc74f9b9130bad15 /libavcodec/vp3.c
parent6d40f88cab07cffa02691e573184e8b6420e5e38 (diff)
vp3dec: set key_frame field of AVFrame
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r--libavcodec/vp3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 8b7d82fb2f..0b389730c0 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -1877,6 +1877,7 @@ static int vp3_decode_frame(AVCodecContext *avctx,
s->current_frame.reference = 3;
s->current_frame.pict_type = s->keyframe ? AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_P;
+ s->current_frame.key_frame = s->keyframe;
if (ff_thread_get_buffer(avctx, &s->current_frame) < 0) {
av_log(s->avctx, AV_LOG_ERROR, "get_buffer() failed\n");
goto error;