mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-27 19:02:13 +08:00
Try to find out correct start time to make seeking faster and add some
extra checks to make sure the seeking function will not hang forever. Originally committed as revision 5814 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -1097,7 +1097,7 @@ static void av_read_frame_flush(AVFormatContext *s)
|
||||
* @param timestamp new dts expressed in time_base of param ref_st
|
||||
* @param ref_st reference stream giving time_base of param timestamp
|
||||
*/
|
||||
static void av_update_cur_dts(AVFormatContext *s, AVStream *ref_st, int64_t timestamp){
|
||||
void av_update_cur_dts(AVFormatContext *s, AVStream *ref_st, int64_t timestamp){
|
||||
int i;
|
||||
|
||||
for(i = 0; i < s->nb_streams; i++) {
|
||||
|
||||
Reference in New Issue
Block a user