diff options
author | James Almer <jamrial@gmail.com> | 2024-06-16 13:55:25 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-06-20 08:57:45 -0300 |
commit | 53c8d417edb0e156f39e50b4166279ac7144318f (patch) | |
tree | 30b5530e7caec4011032b9cbcd4298e4d57201ab /libavformat/vvc.c | |
parent | 0eacad6921c6835d0432f02b1aa5ec9b492a3572 (diff) | |
download | ffmpeg-53c8d417edb0e156f39e50b4166279ac7144318f.tar.gz |
avformat: split off generic NAL function helpers into their own file
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/vvc.c')
-rw-r--r-- | libavformat/vvc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavformat/vvc.c b/libavformat/vvc.c index 3a686c9910..b293ff46de 100644 --- a/libavformat/vvc.c +++ b/libavformat/vvc.c @@ -30,6 +30,7 @@ #include "avc.h" #include "avio.h" #include "avio_internal.h" +#include "nal.h" #include "vvc.h" enum { @@ -813,11 +814,11 @@ int ff_vvc_annexb2mp4(AVIOContext *pb, const uint8_t *buf_in, uint8_t *buf, *end, *start = NULL; if (!filter_ps) { - ret = ff_avc_parse_nal_units(pb, buf_in, size); + ret = ff_nal_parse_units(pb, buf_in, size); goto end; } - ret = ff_avc_parse_nal_units_buf(buf_in, &start, &size); + ret = ff_nal_parse_units_buf(buf_in, &start, &size); if (ret < 0) goto end; @@ -894,7 +895,7 @@ int ff_isom_write_vvcc(AVIOContext *pb, const uint8_t *data, return AVERROR_INVALIDDATA; } - ret = ff_avc_parse_nal_units_buf(data, &start, &size); + ret = ff_nal_parse_units_buf(data, &start, &size); if (ret < 0) return ret; |