Re: [FFmpeg-devel] [PATCH 08/42] avcodec/dovi_rpu: Use RefStruct API for Vdr data

2023-10-02 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2023-09-19 21:57:00) > It avoids allocations and the corresponding error checks. > Also avoids casts and indirections. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/dovi_rpu.c | 54 ++- > libavcodec/dovi_rpu.h | 4

[FFmpeg-devel] [PATCH 08/42] avcodec/dovi_rpu: Use RefStruct API for Vdr data

2023-09-19 Thread Andreas Rheinhardt
It avoids allocations and the corresponding error checks. Also avoids casts and indirections. Signed-off-by: Andreas Rheinhardt --- libavcodec/dovi_rpu.c | 54 ++- libavcodec/dovi_rpu.h | 4 ++-- libavcodec/hevcdec.c | 4 +--- 3 files changed, 26