Complete support for OpenDML AVIs and AVIs > 2Gb.
Originally committed as revision 1814 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
2
ffmpeg.c
2
ffmpeg.c
@@ -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++;
|
||||
|
Reference in New Issue
Block a user