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

Function expect_tag

tools/ismindex.c:96–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94};
95
96static int expect_tag(int32_t got_tag, int32_t expected_tag) {
97 if (got_tag != expected_tag) {
98 char got_tag_str[4], expected_tag_str[4];
99 AV_WB32(got_tag_str, got_tag);
100 AV_WB32(expected_tag_str, expected_tag);
101 fprintf(stderr, "wanted tag %.4s, got %.4s\n", expected_tag_str,
102 got_tag_str);
103 return -1;
104 }
105 return 0;
106}
107
108static int copy_tag(AVIOContext *in, AVIOContext *out, int32_t tag_name)
109{

Callers 3

copy_tagFunction · 0.85
skip_tagFunction · 0.85
read_moof_durationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected