X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavcodec%2Fcdxl.c;h=7c82967df02b5a54cf9ac16f5be74eddb7998bc8;hb=191f68aec1a5d3a5d61e14c9653189ffd7b55f3b;hp=78f5d50102f1849c8cbd04b857247e4826c9936c;hpb=4dc1f06f0c84ebbd8b26cd77679450903244a3e8;p=ffmpeg diff --git a/libavcodec/cdxl.c b/libavcodec/cdxl.c index 78f5d50102f..7c82967df02 100644 --- a/libavcodec/cdxl.c +++ b/libavcodec/cdxl.c @@ -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,