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

Function rm_read_metadata

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

Source from the content-addressed store, hash-verified

115}
116
117static void rm_read_metadata(AVFormatContext *s, int wide)
118{
119 char buf[1024];
120 int i;
121 for (i=0; i<FF_ARRAY_ELEMS(ff_rm_metadata); i++) {
122 int len = wide ? get_be16(s->pb) : get_byte(s->pb);
123 get_strl(s->pb, buf, sizeof(buf), len);
124 av_metadata_set2(&s->metadata, ff_rm_metadata[i], buf, 0);
125 }
126}
127
128RMStream *ff_rm_alloc_rmstream (void)
129{

Callers 2

rm_read_headerFunction · 0.85

Calls 4

get_be16Function · 0.85
get_strlFunction · 0.85
av_metadata_set2Function · 0.85
get_byteFunction · 0.70

Tested by

no test coverage detected