summaryrefslogtreecommitdiff
path: root/libavcodec/flac.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-08-28 18:42:56 +0000
committerAnton Khirnov <anton@khirnov.net>2014-11-06 09:04:56 +0100
commitacc897e6b15776ed438b88ffe330ec48f6b50e48 (patch)
treeffc8eba3e890122c25990927d8538f9ca0d50e9c /libavcodec/flac.c
parente839de0f851535b5e19256b52f9865f0cb768a7c (diff)
downloadffmpeg-acc897e6b15776ed438b88ffe330ec48f6b50e48.tar.gz
lavc: make avpriv_flac_is_extradata_valid() private on the next bump
Diffstat (limited to 'libavcodec/flac.c')
-rw-r--r--libavcodec/flac.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/libavcodec/flac.c b/libavcodec/flac.c
index 3a234d2c35..3e51fdeb98 100644
--- a/libavcodec/flac.c
+++ b/libavcodec/flac.c
@@ -166,7 +166,7 @@ int ff_flac_get_max_frame_size(int blocksize, int ch, int bps)
return count;
}
-int avpriv_flac_is_extradata_valid(AVCodecContext *avctx,
+int ff_flac_is_extradata_valid(AVCodecContext *avctx,
enum FLACExtradataFormat *format,
uint8_t **streaminfo_start)
{
@@ -243,4 +243,11 @@ void avpriv_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *
{
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