MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / language_code

Function language_code

libavformat/movenc.c:1512–1515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1510}
1511
1512static uint16_t language_code(const char *str)
1513{
1514 return (((str[0]-0x60) & 0x1F) << 10) + (((str[1]-0x60) & 0x1F) << 5) + ((str[2]-0x60) & 0x1F);
1515}
1516
1517static int mov_write_3gp_udta_tag(ByteIOContext *pb, AVFormatContext *s,
1518 const char *tag, const char *str)

Callers 3

mov_write_3gp_udta_tagFunction · 0.85
mov_write_psp_udta_tagFunction · 0.85
mov_write_uuidusmt_tagFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected