Opened 13 years ago
Closed 12 years ago
#2830 closed defect (invalid)
stronger ff_index_search_timestamp
| Reported by: | 张广文 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avformat |
| Version: | unspecified | Keywords: | seek |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | yes |
Description
The end of ff_index_search_timestamp will search the AVINDEX_KEYFRAME。when several frames from beginning is not keyframe and flags is AVSEEK_FLAG_BACKWARD, the function maybe return -1.leading the av_seek_file to fail.when i want seek the first frame or
play from stop,the stream will not seek
to the beginning.
I suggest fix the bug.Before return,if m is -1 and flags is BACKWARD, set m to be 0.
Change History (2)
comment:1 by , 12 years ago
| Status: | new → open |
|---|
comment:2 by , 12 years ago
| Resolution: | → invalid |
|---|---|
| Status: | open → closed |
Note:
See TracTickets
for help on using tickets.


