Browse Source

vp3dec: set key_frame field of AVFrame

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Joakim Plate Michael Niedermayer 13 years ago
parent
commit
8fd1da5bd2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/vp3.c

+ 1
- 0
libavcodec/vp3.c View File

@@ -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;


Loading…
Cancel
Save