[FFmpeg-devel] [PATCH v2 01/14] h264_mp4toannexb: Remove unnecessary check

Michael Niedermayer michaelni at gmx.at
Fri Mar 6 15:39:04 EET 2020


On Fri, Mar 06, 2020 at 12:37:30AM +0100, Michael Niedermayer wrote:
> 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.rheinhardt at gmail.com>
> > > ---
> > >  libavcodec/h264_mp4toannexb_bsf.c | 10 +++-------
> > >  1 file changed, 3 insertions(+), 7 deletions(-)
> > 
> > will apply
> 
> will apply the rest of the patchset

which of these patches should/need to be backported ?
obviously there are some bugfixes in this that should be backported and
things which on their own wouldnt qualify for backporting
so is there an alternative to backporting all of this ?

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200306/42702d91/attachment.sig>


More information about the ffmpeg-devel mailing list