diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-02-01 18:36:51 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-02-01 18:36:51 +0000 |
commit | c342499df20213e2aa880ad86c11267eff9f783a (patch) | |
tree | ac4e5c6a0c4571def3424a2d566779f4c90296a8 | |
parent | 3c8e39f72d64e410a2aa19fd2fb31fd59647cdfa (diff) | |
download | ffmpeg-c342499df20213e2aa880ad86c11267eff9f783a.tar.gz |
make keyframe default for AVFrames
Originally committed as revision 3920 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 325883cdb8..d7a7ed464b 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -483,6 +483,7 @@ void avcodec_get_frame_defaults(AVFrame *pic){ memset(pic, 0, sizeof(AVFrame)); pic->pts= AV_NOPTS_VALUE; + pic->key_frame= 1; } /** |