summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhddec.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2011-01-06 20:17:51 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2011-01-06 20:17:51 +0000
commit35ca5c0b6b16fe284eb7147011f516c23a29ec0f (patch)
tree0e8dec38e945d9f354942f383c811a5fe25a98f9 /libavcodec/dnxhddec.c
parenta92c30d76ef3bc58be47acb8f32a2fd0bfe403e3 (diff)
In dnxhd decoder, set key_frame on decoded frame
Originally committed as revision 26247 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dnxhddec.c')
-rw-r--r--libavcodec/dnxhddec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
index 8212487f97..67dd7fc60d 100644
--- a/libavcodec/dnxhddec.c
+++ b/libavcodec/dnxhddec.c
@@ -56,6 +56,7 @@ static av_cold int dnxhd_decode_init(AVCodecContext *avctx)
dsputil_init(&ctx->dsp, avctx);
avctx->coded_frame = &ctx->picture;
ctx->picture.type = FF_I_TYPE;
+ ctx->picture.key_frame = 1;
return 0;
}