[FFmpeg-cvslog] avcodec/lagarith: set pict_type too

Paul B Mahol git at videolan.org
Mon Sep 10 00:01:01 EEST 2018


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Sep  9 21:52:43 2018 +0200| [29a24e5f7970455901039136979ccfe4219926d8] | committer: Paul B Mahol

avcodec/lagarith: set pict_type too

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=29a24e5f7970455901039136979ccfe4219926d8
---

 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];
 



More information about the ffmpeg-cvslog mailing list