| 33 | #include "rtp_eof_helper.h" |
| 34 | |
| 35 | static void* rtp_alloc(void* /*param*/, int bytes) { |
| 36 | static uint8_t buffer[2 * 1024 * 1024 + 4] = { |
| 37 | 0, |
| 38 | 0, |
| 39 | 0, |
| 40 | 1, |
| 41 | }; |
| 42 | assert(bytes <= sizeof(buffer) - 4); |
| 43 | return buffer + 4; |
| 44 | } |
| 45 | |
| 46 | static void rtp_free(void* /*param*/, void* /*packet*/) {} |
| 47 |
nothing calls this directly
no outgoing calls
no test coverage detected