Quoting Andreas Rheinhardt (2023-09-19 21:56:57) > Avoids allocations and error checks for these allocations; > e.g. syncing buffers across threads can't fail any more > and needn't be checked. It also gets rid of casts and > indirections. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > --- > libavcodec/hevc_parser.c | 8 ++-- > libavcodec/hevc_ps.c | 80 ++++++++++++++++---------------------- > libavcodec/hevc_ps.h | 10 ++--- > libavcodec/hevc_sei.c | 5 +-- > libavcodec/hevcdec.c | 36 +++++++---------- > libavcodec/mediacodecdec.c | 6 +-- > libavcodec/videotoolbox.c | 4 +- > libavcodec/vulkan_hevc.c | 16 ++++---- > 8 files changed, 72 insertions(+), 93 deletions(-)
LGTM -- 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".