You are right ... the if statement would have to change as
well.
On Tue, 2021-08-03 at 14:20 +0000, 
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 packet size mismatch" because the code
> thatcorrects the length is wrong.Here is a sample file: 
> http://99.93.62.129/smpte2038.tsPID 300 is the one
> triggering the errors.I am attaching a patch that fixes
> the problem.
> On the if statement right above your change,  are you
> sure that the condition should still be buf_size > pes-
> >total_size? Especially if the old change was just
> buf_size = pes->total_size (so clipping according to
> condition); and the new one is setting it to something
> different. 
> thx for patch.
> _______________________________________________ffmpeg-
> devel mailing listffmpeg-de...@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> To unsubscribe, visit link above, or emailffmpeg-devel-
> requ...@ffmpeg.org with subject
> "unsubscribe".___________________________________________
> ____ffmpeg-devel mailing listffmpeg-de...@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> To unsubscribe, visit link above, or 
> emailffmpeg-devel-requ...@ffmpeg.org with subject
> "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to