avcodec/lcldec: mark output frames as keyframes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/254/merge
Paul B Mahol 8 years ago
parent c61dc28911
commit da2fd3f73e
  1. 3
      libavcodec/lcldec.c

@ -460,6 +460,9 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac
return AVERROR_INVALIDDATA;
}
frame->key_frame = 1;
frame->pict_type = AV_PICTURE_TYPE_I;
*got_frame = 1;
/* always report that the buffer was completely consumed */

Loading…
Cancel
Save