summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-07-27 11:30:55 +0000
committerPaul B Mahol <onemda@gmail.com>2013-07-27 12:02:19 +0000
commit88b071a473925d6c168ba7f0c0a505983936b577 (patch)
treeabfcaf5a1e252a6835968362ae9b48fd527e44bf /libavcodec
parentd9954ccff07be9365db9933138c8c94e028d0a5b (diff)
exr: set pict_type
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/exr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index af1bee0aae..cba0c4d2b3 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;