#11645: pts_correction_num_faulty is not reset in ff_decode_flush_buffers
---------------------------------+---------------------------------------
Reporter: keks51 | Type: defect
Status: new | Priority: normal
Component: avcodec | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+---------------------------------------
Summary of the bug:
Sometimes the guess_correct_pts is incorrect since
pts_correction_num_faulty_pts and pts_correction_num_faulty_dts are not
cleaned in ff_decode_flush_buffers.
just add 2 lines here
https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/HEAD:/libavcodec/decode.c#l2220:
dc->pts_correction_num_faulty_pts =
dc->pts_correction_num_faulty_dts = 0;
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11645>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".