[FFmpeg-devel] [PATCH] avcodec/noise_bsf: Check for wrapped frames

Michael Niedermayer michael at niedermayer.cc
Sun Jun 4 22:54:11 EEST 2023


On Mon, Jun 05, 2023 at 12:06:15AM +0530, Gyan Doshi wrote:
> 
> 
> On 2023-06-04 11:43 pm, Michael Niedermayer wrote:
> > On Sun, Jun 04, 2023 at 08:07:25PM +0200, Michael Niedermayer wrote:
> > > Wrapped frames contain pointers so they need specific code to
> > > noise them, the generic code would lead to segfaults
> > > 
> > > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > > ---
> > >   libavcodec/noise_bsf.c | 5 +++++
> > >   1 file changed, 5 insertions(+)
> > I intend to apply this soon as noising pointers is not too good
> 
> Their contents can't be manipulated but they can still be dropped
> conditionally, so the bsf can still handle them if amount_str is NULL.

ok, ive sent a new patch

thx

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

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- 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/20230604/cc6a7697/attachment.sig>


More information about the ffmpeg-devel mailing list