Quoting Andreas Rheinhardt (2023-09-19 21:57:07)
> Avoids allocations and error checks and allows to remove
> cleanup code for earlier allocations. Also avoids casts
> and indirections.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
> ---
> I actually intend to remove the ThreadFrame API in the not-so
> long-term.
> 
>  libavcodec/h264_mb.c       |  4 ++--
>  libavcodec/pthread_frame.c | 23 ++++++++++++-----------
>  libavcodec/threadframe.h   |  4 +---
>  libavcodec/utils.c         | 14 ++++----------
>  4 files changed, 19 insertions(+), 26 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".

Reply via email to