[FFmpeg-trac] #9355(undetermined:new): Fix for PES packets with too much padding

FFmpeg trac at avcodec.org
Tue Aug 3 16:56:26 EEST 2021


#9355: Fix for PES packets with too much padding
-------------------------------------+-------------------------------------
             Reporter:  Sergio       |                     Type:  defect
  Ammirata, Ph.D.                    |
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 PES packet with too much padding trigger unlimited error messages "PES
 packet size mismatch" because the code that corrects the length is wrong.
 Here is a sample file: http://99.93.62.129/smpte2038.ts
 PID 300 is the one triggering the errors.
 I am attaching a patch that fixes the problem.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9355>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list