From 29a24e5f7970455901039136979ccfe4219926d8 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 9 Sep 2018 21:52:43 +0200 Subject: [PATCH] avcodec/lagarith: set pict_type too --- libavcodec/lagarith.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c index d88c5f5ae7..5763504b71 100644 --- a/libavcodec/lagarith.c +++ b/libavcodec/lagarith.c @@ -546,6 +546,7 @@ static int lag_decode_frame(AVCodecContext *avctx, int ret; p->key_frame = 1; + p->pict_type = AV_PICTURE_TYPE_I; frametype = buf[0];