diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-05-26 09:43:50 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-05-28 07:48:30 +0200 |
commit | 5fdaf312c5541b77b6364db8b49d6abb416a25c0 (patch) | |
tree | baabc560f234cce310001a1348f80645de8ddb0e /libavformat/flacdec.c | |
parent | 54ed488b1af583df6c9d2a73b4a44f16b7e4f82c (diff) | |
download | ffmpeg-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.c | 2 |
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 */ |