| 680 | } |
| 681 | |
| 682 | static inline int get8(const uint8_t **pp, const uint8_t *p_end) |
| 683 | { |
| 684 | const uint8_t *p; |
| 685 | int c; |
| 686 | |
| 687 | p = *pp; |
| 688 | if (p >= p_end) |
| 689 | return AVERROR_INVALIDDATA; |
| 690 | c = *p++; |
| 691 | *pp = p; |
| 692 | return c; |
| 693 | } |
| 694 | |
| 695 | static inline int get16(const uint8_t **pp, const uint8_t *p_end) |
| 696 | { |
no outgoing calls
no test coverage detected