Quoting Andreas Rheinhardt (2023-09-19 21:57:08) > Avoids allocations and error checks as well as the boilerplate > code for creating an AVBuffer with a custom free callback. > Also increases type safety. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > --- > libavcodec/nvdec.c | 50 ++++++++++++++++++---------------------------- > libavcodec/nvdec.h | 4 ++-- > 2 files changed, 21 insertions(+), 33 deletions(-)
Looks ok. -- Anton Khirnov _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".