exr: set pict_type
authorPaul B Mahol <onemda@gmail.com>
Sat, 27 Jul 2013 11:30:55 +0000 (11:30 +0000)
committerPaul B Mahol <onemda@gmail.com>
Sat, 27 Jul 2013 12:02:19 +0000 (12:02 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/exr.c

index af1bee0..cba0c4d 100644 (file)
@@ -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;