Ticket #9151: 9151-v1.patch
| File 9151-v1.patch, 714 bytes (added by , 15 years ago) |
|---|
-
external/FFmpeg/libavformat/utils.c
1543 1543 int64_t pos, ts; 1544 1544 int64_t start_pos, filesize; 1545 1545 int no_change; 1546 int64_t start_fpos = url_fseek(s->pb, 0, SEEK_CUR); 1546 1547 1548 1547 1549 #ifdef DEBUG_SEEK 1548 1550 av_log(s, AV_LOG_DEBUG, "gen_seek: %d %"PRId64"\n", stream_index, target_ts); 1549 1551 #endif … … 1581 1583 } 1582 1584 1583 1585 if(ts_min > ts_max){ 1586 if (start_fpos >= 0) 1587 url_fseek(s->pb, start_fpos, SEEK_SET); 1584 1588 return -1; 1585 1589 }else if(ts_min == ts_max){ 1586 1590 pos_limit= pos_min;
