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;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to