ffmpeg | branch: master | Paul B Mahol <one...@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];
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to