Commit 72942ad6 authored by Paul B Mahol's avatar Paul B Mahol

avcodec/cdxl: also mark decoded frame as keyframe

parent ef46de69
......@@ -295,6 +295,7 @@ static int cdxl_decode_frame(AVCodecContext *avctx, void *data,
if ((ret = ff_get_buffer(avctx, p, 0)) < 0)
return ret;
p->pict_type = AV_PICTURE_TYPE_I;
p->key_frame = 1;
if (encoding) {
av_fast_padded_malloc(&c->new_video, &c->new_video_size,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment