Commit c342499d authored by Michael Niedermayer's avatar Michael Niedermayer

make keyframe default for AVFrames

Originally committed as revision 3920 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3c8e39f7
...@@ -483,6 +483,7 @@ void avcodec_get_frame_defaults(AVFrame *pic){ ...@@ -483,6 +483,7 @@ void avcodec_get_frame_defaults(AVFrame *pic){
memset(pic, 0, sizeof(AVFrame)); memset(pic, 0, sizeof(AVFrame));
pic->pts= AV_NOPTS_VALUE; pic->pts= AV_NOPTS_VALUE;
pic->key_frame= 1;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment