On Sun, Jun 16, 2024 at 02:00:06PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavformat/Makefile | 2 +- > libavformat/avc.c | 164 +--------------------------- > libavformat/avc.h | 37 ------- > libavformat/flvenc.c | 3 +- > libavformat/hevc.c | 7 +- > libavformat/hlsenc.c | 1 + > libavformat/matroskaenc.c | 1 + > libavformat/movenc.c | 5 +- > libavformat/movenccenc.c | 5 +- > libavformat/mxfenc.c | 3 +- > libavformat/nal.c | 190 +++++++++++++++++++++++++++++++++ > libavformat/nal.h | 66 ++++++++++++ > libavformat/rtpenc_h264_hevc.c | 9 +- > libavformat/sdp.c | 5 +- > libavformat/vvc.c | 7 +- > 15 files changed, 287 insertions(+), 218 deletions(-) > create mode 100644 libavformat/nal.c > create mode 100644 libavformat/nal.h TEST source --- ./tests/ref/fate/source 2024-06-16 09:48:55.353888202 +0200 +++ tests/data/fate/source 2024-06-18 23:22:19.071495178 +0200 @@ -25,6 +25,7 @@ compat/float/float.h compat/float/limits.h libavcodec/bitstream_template.h +libavformat/nal.h tools/decode_simple.h Use of av_clip() where av_clip_uintp2() could be used: Use of av_clip() where av_clip_intp2() could be used: [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No snowflake in an avalanche ever feels responsible. -- Voltaire