[FFmpeg-devel] [PATCH] avformat: split off generic NAL function helpers into their own file
Michael Niedermayer
michael at niedermayer.cc
Wed Jun 19 00:23:00 EEST 2024
On Sun, Jun 16, 2024 at 02:00:06PM -0300, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240618/e86d6b62/attachment.sig>
More information about the ffmpeg-devel
mailing list