[FFmpeg-devel] [PATCH] avformat: split off generic NAL function helpers into their own file
James Almer
jamrial at gmail.com
Wed Jun 19 16:04:29 EEST 2024
On 6/18/2024 6:23 PM, Michael Niedermayer wrote:
> 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:
Copy-paste mistake in the header define. Fixed locally.
More information about the ffmpeg-devel
mailing list