]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/lagarith: set pict_type too
authorPaul B Mahol <onemda@gmail.com>
Sun, 9 Sep 2018 19:52:43 +0000 (21:52 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sun, 9 Sep 2018 20:58:26 +0000 (22:58 +0200)
libavcodec/lagarith.c

index d88c5f5ae7fbded8b621cbc7d68000b1da7363a9..5763504b713fb299c34e09cc73dd30508c3e4ef0 100644 (file)
@@ -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];