[FFmpeg-soc] [soc]: r4453 - seek_api/mpeg.c

spyfeng subversion at mplayerhq.hu
Tue Jun 16 18:05:13 CEST 2009


Author: spyfeng
Date: Tue Jun 16 18:05:13 2009
New Revision: 4453

Log:
initialize pts becasue we may not get pts value from index entries.

Modified:
   seek_api/mpeg.c

Modified: seek_api/mpeg.c
==============================================================================
--- seek_api/mpeg.c	Tue Jun 16 16:47:18 2009	(r4452)
+++ seek_api/mpeg.c	Tue Jun 16 18:05:13 2009	(r4453)
@@ -628,7 +628,7 @@ static int mpegps_read_seek(struct AVFor
     AVStream* st;
     int index;
     int64_t pos, ret_pos, av_uninit(pos_min), av_uninit(pos_max), pos_limit;
-    int64_t ts_min, ts_max, ret_ts, pts;
+    int64_t ts_min, ts_max, ret_ts, pts = INT64_MAX;
 
     if (min_ts > ts || max_ts < ts)
         return -1;


More information about the FFmpeg-soc mailing list