diff utils.c @ 1185:13dc486b272b libavformat

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.
author reimar
date Sun, 23 Jul 2006 18:19:33 +0000
parents d18cc9a1fd02
children 1a14fff172ca
line wrap: on
line diff
--- a/utils.c	Thu Jul 20 10:22:07 2006 +0000
+++ b/utils.c	Sun Jul 23 18:19:33 2006 +0000
@@ -1097,7 +1097,7 @@
  * @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++) {