avcodec/internal.h: Move avpriv_find_start_code() to startcode.h

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.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-02-04 15:43:14 +01:00
parent 27f22f3383
commit 70a90fb73e
21 changed files with 24 additions and 37 deletions

View file

@ -27,6 +27,10 @@
#include <stdint.h>
const uint8_t *avpriv_find_start_code(const uint8_t *p,
const uint8_t *end,
uint32_t *state);
int ff_startcode_find_candidate_c(const uint8_t *buf, int size);
#endif /* AVCODEC_STARTCODE_H */