[FFmpeg-devel] [PATCH 0/6] Use av_buffer_replace()
Gil Pedersen
git at gpost.dk
Wed Nov 18 15:05:11 EET 2020
Included are six patches to refactor code to use av_buffer_replace().
This is extra relevant if my 'reuse AVBufferRef alloction' patch is merged.
/Gil
Gil Pedersen (6):
avcodec/cbs_av1: use av_buffer_replace() to simplify code
avcodec/cbs_h2645: use av_buffer_replace() to simplify code
avcodec/h264_parser: use av_buffer_replace() to simplify code
avcodec/h264_slice: use av_buffer_replace() to simplify code
avcodec/wavpack: use av_buffer_replace() to simplify code
avutil/frame: use av_buffer_replace() to simplify code
libavcodec/cbs_av1.c | 22 ++++++++++------------
libavcodec/cbs_h2645.c | 7 +++----
libavcodec/h264_parser.c | 10 +++++-----
libavcodec/h264_slice.c | 10 +++++-----
libavcodec/wavpack.c | 7 +++----
libavutil/frame.c | 37 ++++++++++++-------------------------
6 files changed, 38 insertions(+), 55 deletions(-)
--
2.17.1
More information about the ffmpeg-devel
mailing list