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 d88c5f5..5763504 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];