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

Gyan Doshi ffmpeg at gyani.pro
Sun Jun 4 21:36:15 EEST 2023

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.


More information about the ffmpeg-devel mailing list