1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-12 13:44:56 +02:00
vlc/modules/mux
Lyndon Brown 61bdcc3ff6 iso639: de-duplicate code lookup handling
...with a new function, which also replaces direct use of the three
code-specific functions.

all users of these three functions had a common pattern of using the
iso-639-1 lookup for len==2 codes, and for len==3 doing a 2B lookup,
falling back to a 2T lookup if that failed.

this pattern is now implemented in the new `vlc_find_iso639()` function.

the three individual functions are now made private, not being needed
publicly anymore. they also now just do a straight `strcmp()` rather than
`strncmp()` because they are only called for the right length of strings.

the implementation will be tweaked slightly in the next commit.
2021-06-12 13:09:35 +00:00
..
mp4 iso639: de-duplicate code lookup handling 2021-06-12 13:09:35 +00:00
mpeg iso639: de-duplicate code lookup handling 2021-06-12 13:09:35 +00:00
asf.c config: remove remaining "advanced" flags 2021-06-06 08:42:50 +00:00
av1_pack.h mux: add AV1 samples packing helper 2018-10-17 20:40:00 +02:00
avi.c config: remove remaining "advanced" flags 2021-06-06 08:42:50 +00:00
dummy.c mux: remove MUX_GET_ADD_STREAM_WAIT 2020-03-03 19:31:54 +02:00
extradata.c mux: extradata: parametrize extradata type 2018-12-24 10:11:04 +01:00
extradata.h mux: extradata: parametrize extradata type 2018-12-24 10:11:04 +01:00
Makefile.am mux: ts/pes: add proper handling for payload injection 2021-01-13 17:53:48 +01:00
mpjpeg.c mpjpeg mux: do not use block_FifoCount() 2021-01-19 19:26:11 +02:00
ogg.c config: remove remaining "advanced" flags 2021-06-06 08:42:50 +00:00
wav.c mux: remove dead GET_STREAM_ADD_WAIT code 2020-03-03 19:31:54 +02:00