summaryrefslogtreecommitdiff
path: root/libavcodec/hdrdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/hdrdec.c')
-rw-r--r--libavcodec/hdrdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hdrdec.c b/libavcodec/hdrdec.c
index 998227744b..9b6395bb6d 100644
--- a/libavcodec/hdrdec.c
+++ b/libavcodec/hdrdec.c
@@ -212,7 +212,7 @@ convert:
}
}
- p->key_frame = 1;
+ p->flags |= AV_FRAME_FLAG_KEY;
p->pict_type = AV_PICTURE_TYPE_I;
*got_frame = 1;