diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-08-28 18:42:56 +0000 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-11-06 09:04:12 +0100 |
commit | c070a8751597e3aa1b443e88464da785d8966b14 (patch) | |
tree | c123f6b093250c4ec8094d739d03f88c21502094 /libavcodec/flac.c | |
parent | 7784f47762d59e859b4d0f74b3e021ad9368ee2c (diff) | |
download | ffmpeg-c070a8751597e3aa1b443e88464da785d8966b14.tar.gz |
lavc: make avpriv_flac_parse_streaminfo() private on the next bump
Diffstat (limited to 'libavcodec/flac.c')
-rw-r--r-- | libavcodec/flac.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libavcodec/flac.c b/libavcodec/flac.c index ec0cb6f0b9..3a234d2c35 100644 --- a/libavcodec/flac.c +++ b/libavcodec/flac.c @@ -201,7 +201,7 @@ void ff_flac_set_channel_layout(AVCodecContext *avctx) avctx->channel_layout = 0; } -void avpriv_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *s, +void ff_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *s, const uint8_t *buffer) { GetBitContext gb; @@ -236,3 +236,11 @@ void avpriv_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo * 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); +} +#endif |