mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
make keyframe default for AVFrames
Originally committed as revision 3920 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3c8e39f72d
commit
c342499df2
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user