mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-05 11:36:37 +00:00
avcodec/flac: remove avpriv parsing API cruft
This commit is contained in:
parent
eb011f73ca
commit
2cad7eebc1
@ -235,18 +235,3 @@ void ff_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *s,
|
||||
skip_bits_long(&gb, 64); /* md5 sum */
|
||||
skip_bits_long(&gb, 64); /* md5 sum */
|
||||
}
|
||||
|
||||
#if LIBAVCODEC_VERSION_MAJOR < 57
|
||||
void avpriv_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *s,
|
||||
const uint8_t *buffer)
|
||||
{
|
||||
ff_flac_parse_streaminfo(avctx, s, buffer);
|
||||
}
|
||||
|
||||
int avpriv_flac_is_extradata_valid(AVCodecContext *avctx,
|
||||
enum FLACExtradataFormat *format,
|
||||
uint8_t **streaminfo_start)
|
||||
{
|
||||
return ff_flac_is_extradata_valid(avctx, format, streaminfo_start);
|
||||
}
|
||||
#endif
|
||||
|
@ -99,14 +99,6 @@ typedef struct FLACFrameInfo {
|
||||
void ff_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *s,
|
||||
const uint8_t *buffer);
|
||||
|
||||
#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
|
||||
|
||||
/**
|
||||
* Validate the FLAC extradata.
|
||||
* @param[in] avctx codec context containing the extradata.
|
||||
|
Loading…
x
Reference in New Issue
Block a user