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