Quoting Andreas Rheinhardt (2023-09-19 21:57:10) > It involves less allocations and therefore has the nice property > that deriving a reference from a reference can't fail. > This allows for considerable simplifications in > ff_h264_(ref|replace)_picture(). > Switching to the RefStruct API also allows to make H264Picture > smaller, because some AVBufferRef* pointers could be removed > without replacement. > > Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > --- > libavcodec/h264_picture.c | 72 +++++++++++---------------------------- > libavcodec/h264_slice.c | 44 ++++++++++++------------ > libavcodec/h264dec.c | 19 ++++++----- > libavcodec/h264dec.h | 23 ++++++------- > 4 files changed, 62 insertions(+), 96 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".