This is by definition the appropriate place for it. Remove all the now unnecessary libavcodec/internal.h inclusions; also remove other unnecessary headers from the affected files.
Showing the changes to libavcodec/startcode.h (1 of 21 files). Show all
Unified · Split
| @@ -27,6 +27,10 @@ · 26 unmodified lines | ||
| 27 | 27 | |
| 28 | 28 | #include <stdint.h> |
| 29 | 29 | |
| 30 | +const uint8_t *avpriv_find_start_code(const uint8_t *p, | |
| 31 | + const uint8_t *end, | |
| 32 | + uint32_t *state); | |
| 33 | + | |
| 30 | 34 | int ff_startcode_find_candidate_c(const uint8_t *buf, int size); |
| 31 | 35 | |
| 32 | 36 | #endif /* AVCODEC_STARTCODE_H */ |