|
|
|
@ -102,6 +102,9 @@ void ff_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *s, |
|
|
|
|
#if LIBAVCODEC_VERSION_MAJOR < 57 |
|
|
|
|
void avpriv_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *s, |
|
|
|
|
const uint8_t *buffer); |
|
|
|
|
int avpriv_flac_is_extradata_valid(AVCodecContext *avctx, |
|
|
|
|
enum FLACExtradataFormat *format, |
|
|
|
|
uint8_t **streaminfo_start); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -111,9 +114,9 @@ void avpriv_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo * |
|
|
|
|
* @param[out] streaminfo_start pointer to start of 34-byte STREAMINFO data. |
|
|
|
|
* @return 1 if valid, 0 if not valid. |
|
|
|
|
*/ |
|
|
|
|
int avpriv_flac_is_extradata_valid(AVCodecContext *avctx, |
|
|
|
|
enum FLACExtradataFormat *format, |
|
|
|
|
uint8_t **streaminfo_start); |
|
|
|
|
int ff_flac_is_extradata_valid(AVCodecContext *avctx, |
|
|
|
|
enum FLACExtradataFormat *format, |
|
|
|
|
uint8_t **streaminfo_start); |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Calculate an estimate for the maximum frame size based on verbatim mode. |
|
|
|
|