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

Function skip_tag

tools/ismindex.c:133–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133static int skip_tag(AVIOContext *in, int32_t tag_name)
134{
135 int64_t pos = avio_tell(in);
136 int32_t size, tag;
137
138 size = avio_rb32(in);
139 tag = avio_rb32(in);
140 if (expect_tag(tag, tag_name) != 0)
141 return -1;
142 avio_seek(in, pos + size, SEEK_SET);
143 return 0;
144}
145
146static int write_fragment(const char *filename, AVIOContext *in)
147{

Callers 1

skip_fragmentFunction · 0.85

Calls 4

avio_tellFunction · 0.85
avio_rb32Function · 0.85
expect_tagFunction · 0.85
avio_seekFunction · 0.85

Tested by

no test coverage detected