> If something is so specific to one component that its not universally > useful, then it should probably be local to that component.
Ok, I have completely removed the changes to buffer.c and buffer.h and incorporated them into a static function in h2645_parse.c. Thank you. - Andreas Andreas Rheinhardt (3): cbs_h2645: Avoid memcpy when splitting fragment h2645_parse: Make ff_h2645_packet_split reference-compatible cbs_h2645: Avoid memcpy when splitting fragment #2 libavcodec/cbs_h2645.c | 45 +++++++++++++++--------------- libavcodec/cbs_h2645.h | 2 ++ libavcodec/extract_extradata_bsf.c | 4 +-- libavcodec/h2645_parse.c | 43 +++++++++++++++++++++++++--- libavcodec/h2645_parse.h | 15 ++++++++-- libavcodec/h264_parse.c | 4 +-- libavcodec/h264dec.c | 6 ++-- libavcodec/hevc_parse.c | 5 ++-- libavcodec/hevc_parser.c | 4 +-- libavcodec/hevcdec.c | 4 +-- 10 files changed, 90 insertions(+), 42 deletions(-) -- 2.19.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel