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

Function parse_fmtp_config

libavformat/rtpdec_mpeg4.c:117–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117static int parse_fmtp_config(AVCodecParameters *par, const char *value)
118{
119 /* decode the hexa encoded parameter */
120 int len = ff_hex_to_data(NULL, value), ret;
121
122 if ((ret = ff_alloc_extradata(par, len)) < 0)
123 return ret;
124 ff_hex_to_data(par->extradata, value);
125 return 0;
126}
127
128static int rtp_parse_mp4_au(PayloadContext *data, const uint8_t *buf, int len)
129{

Callers 1

parse_fmtpFunction · 0.70

Calls 2

ff_hex_to_dataFunction · 0.85
ff_alloc_extradataFunction · 0.85

Tested by

no test coverage detected