| 94 | }; |
| 95 | |
| 96 | static 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 | |
| 108 | static int copy_tag(AVIOContext *in, AVIOContext *out, int32_t tag_name) |
| 109 | { |
no outgoing calls
no test coverage detected