[FFmpeg-cvslog] exr: set pict_type

Paul B Mahol git at videolan.org
Sat Jul 27 14:05:36 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Jul 27 11:30:55 2013 +0000| [88b071a473925d6c168ba7f0c0a505983936b577] | committer: Paul B Mahol

exr: set pict_type

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 libavcodec/exr.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index af1bee0..cba0c4d 100644
--- a/libavcodec/exr.c
+++ b/libavcodec/exr.c
@@ -778,6 +778,7 @@ static int decode_frame(AVCodecContext *avctx,
         ptr += picture->linesize[0];
     }
 
+    picture->pict_type = AV_PICTURE_TYPE_I;
     *got_frame = 1;
 
     return buf_size;



More information about the ffmpeg-cvslog mailing list