[FFmpeg-devel] [PATCH] avcodec/h264_slice: Remove dead sps check

Michael Niedermayer michael at niedermayer.cc
Tue May 14 01:49:32 EEST 2024


On Mon, May 13, 2024 at 06:15:16AM +0100, Kieran Kunhya wrote:
> On Mon, 13 May 2024, 02:32 Michael Niedermayer, <michael at niedermayer.cc>
> wrote:
> 
> > On Mon, May 06, 2024 at 03:23:07AM +0200, Michael Niedermayer wrote:
> > > Fixes: CID1439574 Dereference after null check
> > >
> > > Sponsored-by: Sovereign Tech Fund
> > > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > > ---
> > >  libavcodec/h264_slice.c | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > will apply
> >
> 
> I don't understand what this fixes

it is not possible for sps to be NULL in this function (see line 1424)

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Elect your leaders based on what they did after the last election, not
based on what they say before an election.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240514/7428a54f/attachment.sig>


More information about the ffmpeg-devel mailing list