#include "libavutil/mathematics.h"
#include "libavutil/pixfmt.h"
#include "avcodec.h"
+#include "config.h"
-#define FF_SANE_NB_CHANNELS 128U
+#define FF_SANE_NB_CHANNELS 63U
typedef struct FramePool {
/**
*/
int allocate_progress;
-#if FF_API_OLD_ENCODE_AUDIO
- /**
- * Internal sample count used by avcodec_encode_audio() to fabricate pts.
- * Can be removed along with avcodec_encode_audio().
- */
- int sample_count;
-#endif
-
/**
* An audio frame with less than required samples has been submitted and
* padded with silence. Reject all subsequent frames.
*/
int ff_reget_buffer(AVCodecContext *avctx, AVFrame *frame);
+const uint8_t *avpriv_find_start_code(const uint8_t *restrict p,
+ const uint8_t *end,
+ uint32_t *restrict state);
+
#endif /* AVCODEC_INTERNAL_H */