1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec: move leb reading functions to its own header

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2024-01-31 08:45:17 -03:00
parent db6e360afb
commit fa469545ba
8 changed files with 75 additions and 65 deletions

View File

@ -68,7 +68,7 @@ static int metadata_is_global(const AV1OBU *obu)
if (init_get_bits(&gb, obu->data, obu->size_bits) < 0)
return 0;
metadata_type = leb128(&gb);
metadata_type = get_leb(&gb);
return val_in_array(metadata_obu_types, FF_ARRAY_ELEMS(metadata_obu_types),
metadata_type);