mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
-vcodec copy fix patch by (mru at users dot sourceforge dot net (Måns Rullgård))
Originally committed as revision 1114 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5981f4e693
commit
b2722d0a42
1
ffmpeg.c
1
ffmpeg.c
@ -1290,6 +1290,7 @@ static int av_encode(AVFormatContext **output_files,
|
|||||||
/* no reencoding needed : output the packet directly */
|
/* no reencoding needed : output the packet directly */
|
||||||
/* force the input stream PTS */
|
/* force the input stream PTS */
|
||||||
av_write_frame(os, ost->index, data_buf, data_size);
|
av_write_frame(os, ost->index, data_buf, data_size);
|
||||||
|
ost->st->codec.frame_number++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user