On Sun, Dec 15, 2019 at 11:56:00PM +0100, Michael Niedermayer wrote: > On Sat, Dec 14, 2019 at 11:19:13PM +0100, Andreas Rheinhardt wrote: > > There can be at most 31 SPS and 255 PPS in the mp4/Matroska extradata. > > Given that each has a size of at most 2^16-1, the length of the output > > derived from these parameter sets can never overflow an ordinary 32 bit > > integer. So use a simple uint32_t instead of uint64_t and replace the > > unnecessary check with an av_assert1. > > > > Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com> > > --- > > libavcodec/h264_mp4toannexb_bsf.c | 10 +++------- > > 1 file changed, 3 insertions(+), 7 deletions(-) > > will apply
will apply the rest of the patchset thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Dictatorship: All citizens are under surveillance, all their steps and actions recorded, for the politicians to enforce control. Democracy: All politicians are under surveillance, all their steps and actions recorded, for the citizens to enforce control.
signature.asc
Description: PGP signature
_______________________________________________ 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".