diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2006-07-23 18:19:33 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2006-07-23 18:19:33 +0000 |
commit | 22ffac707e52ce58c0bd71857fe1353f453f78e0 (patch) | |
tree | e7714e1b6d4894d2a0d779de2e55cd9a70970be0 /libavformat/utils.c | |
parent | 8dfe90941a83659e8563a9c9db792fddec0811c8 (diff) | |
download | ffmpeg-22ffac707e52ce58c0bd71857fe1353f453f78e0.tar.gz |
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
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 2c882faf44..cefce88abc 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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++) { |