Browse Source

make keyframe default for AVFrames

Originally committed as revision 3920 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 21 years ago
parent
commit
c342499df2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/utils.c

+ 1
- 0
libavcodec/utils.c View File

@@ -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…
Cancel
Save