Re: [FFmpeg-devel] Fix for PES packets with too much padding

2021-08-05 Thread Sergio M. Ammirata, Ph.D.
Can you share the video file you are using to get the segfault? On Thu, 2021-08-05 at 23:10 +0200, Michael Niedermayer wrote: > On Thu, Aug 05, 2021 at 11:08:30PM +0200, Michael > Niedermayer wrote: > On Tue, Aug 03, 2021 at 10:07:34AM -0400, Sergio M. > Ammirata, Ph.D. wrote: > PES packet with too

Re: [FFmpeg-devel] Fix for PES packets with too much padding

2021-08-05 Thread Sergio M. Ammirata, Ph.D.
You are right ... the if statement would have to change as well. On Tue, 2021-08-03 at 14:20 +, ffmpegandmahanstreamer@e.email wrote: > August 3, 2021 10:07 AM, "Sergio M. Ammirata, Ph.D." < > ser...@ammirata.net> wrote: > PES packet with too much padding trigger unlimited > errormessages "PES

Re: [FFmpeg-devel] Fix for PES packets with too much padding

2021-08-05 Thread Michael Niedermayer
On Thu, Aug 05, 2021 at 11:08:30PM +0200, Michael Niedermayer wrote: > On Tue, Aug 03, 2021 at 10:07:34AM -0400, Sergio M. Ammirata, Ph.D. wrote: > > PES packet with too much padding trigger unlimited error > > messages "PES packet size mismatch" because the code that > > corrects the length is wro

Re: [FFmpeg-devel] Fix for PES packets with too much padding

2021-08-05 Thread Michael Niedermayer
On Tue, Aug 03, 2021 at 10:07:34AM -0400, Sergio M. Ammirata, Ph.D. wrote: > 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 th

Re: [FFmpeg-devel] Fix for PES packets with too much padding

2021-08-03 Thread ffmpegandmahanstreamer
August 3, 2021 10:07 AM, "Sergio M. Ammirata, Ph.D." wrote: > 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 trigge

[FFmpeg-devel] Fix for PES packets with too much padding

2021-08-03 Thread Sergio M. Ammirata, Ph.D.
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. From 3a2