aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/flacdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-05-26 09:43:50 +0200
committerAnton Khirnov <anton@khirnov.net>2014-05-28 07:48:30 +0200
commit5fdaf312c5541b77b6364db8b49d6abb416a25c0 (patch)
treebaabc560f234cce310001a1348f80645de8ddb0e /libavformat/flacdec.c
parent54ed488b1af583df6c9d2a73b4a44f16b7e4f82c (diff)
downloadffmpeg-5fdaf312c5541b77b6364db8b49d6abb416a25c0.tar.gz
flac: make avpriv_flac_parse_block_header() inline
This avoids all the ABI troubles associated with avpriv_. Since this function is very small and does not depend on any tables, making it inline should have no adverse effects.
Diffstat (limited to 'libavformat/flacdec.c')
-rw-r--r--libavformat/flacdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c
index d02d8b5ecd..ee40a204fe 100644
--- a/libavformat/flacdec.c
+++ b/libavformat/flacdec.c
@@ -51,7 +51,7 @@ static int flac_read_header(AVFormatContext *s)
/* process metadata blocks */
while (!s->pb->eof_reached && !metadata_last) {
avio_read(s->pb, header, 4);
- avpriv_flac_parse_block_header(header, &metadata_last, &metadata_type,
+ flac_parse_block_header(header, &metadata_last, &metadata_type,
&metadata_size);
switch (metadata_type) {
/* allocate and read metadata block for supported types */