Opened 10 years ago
Closed 10 years ago
#2103 closed defect (fixed)
wrong pkt in range check in the ffplay
|Reported by:||chinshou||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
the packet in range check does not check whether start time is equal to AV_NOPTS_VALUE. if ic->streams[pkt->stream_index]->start_time == AV_NOPTS_VALUE ,following code will not generate correct result.
pkt_in_play_range = duration == AV_NOPTS_VALUE
(pkt->pts - ic->streams[pkt->stream_index]->start_time) *
(double)(start_time != AV_NOPTS_VALUE ? start_time : 0) / 1000000
<= ((double)duration / 1000000);
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
|Status:||new → closed|
Fixed by Marton in f07cb53.
Note: See TracTickets for help on using tickets.
Please either provide a failing sample (including failing command line including complete, uncut console output) or send a patch to ffmpeg-devel.