summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-09-09 21:52:43 +0200
committerPaul B Mahol <onemda@gmail.com>2018-09-09 22:58:26 +0200
commit29a24e5f7970455901039136979ccfe4219926d8 (patch)
tree2d61d36945c60b81a47beda1899ecdb432558844
parentb2ffecbd0ccccfd1e379096bb62c15b06bb6ab63 (diff)
avcodec/lagarith: set pict_type too
-rw-r--r--libavcodec/lagarith.c1
1 files changed, 1 insertions, 0 deletions
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];