[FFmpeg-devel] [PATCH 1/4] avcodec/hevcdec: Combine multiple allocations

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Thu Jan 6 11:56:37 EET 2022


Michael Niedermayer:
> On Wed, Jan 05, 2022 at 10:18:11PM +0100, Andreas Rheinhardt wrote:
>> Reduces the number of allocs and frees.
>>
>> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
>> ---
>>  libavcodec/hevcdec.c | 11 ++++-------
>>  1 file changed, 4 insertions(+), 7 deletions(-)
> 
> something in the patches today causes a segfault in a hevc stream with slice threading
> iam trying to bisect it but it but it does not replicate at all reliably ATM
> so i dont even know if its from a patch today
> just wanted to report what i know ATM ...
> 
> thx

On what arch did you test this? Josh's recent patchset [1] caused
segfaults on aarch64, see also [2]. I actually tested with slice
threading (which this data is all about). But I will nevertheless look
at your sample.

- Andreas

[1]: https://ffmpeg.org/pipermail/ffmpeg-devel/2022-January/290774.html
[2]: https://ffmpeg.org/pipermail/ffmpeg-devel/2022-January/290862.html


More information about the ffmpeg-devel mailing list