diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2003-04-23 02:04:40 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2003-04-23 02:04:40 +0000 |
commit | e738cee9c4feb258d57bf4b4975e12f561f9eb4f (patch) | |
tree | 79472f1f6c6ac8cfb038f42f7920276281a0f572 /ffmpeg.c | |
parent | 80097bbf712ca2f577b375d6ba94e3957b2c2e78 (diff) | |
download | ffmpeg-e738cee9c4feb258d57bf4b4975e12f561f9eb4f.tar.gz |
Complete support for OpenDML AVIs and AVIs > 2Gb.
Originally committed as revision 1814 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1363,9 +1363,9 @@ static int av_encode(AVFormatContext **output_files, /* no reencoding needed : output the packet directly */ /* force the input stream PTS */ - //XXX/FIXME set keyframe flag from demuxer (or optionally from decoder) memset(&avframe, 0, sizeof(AVFrame)); ost->st->codec.coded_frame= &avframe; + avframe.key_frame = pkt.flags & PKT_FLAG_KEY; av_write_frame(os, ost->index, data_buf, data_size); ost->st->codec.frame_number++; |