adx: rename ff_adx_decode_header() to avpriv_adx_decode_header()

It is used by the ADX decoder, and therefore needs to be exported in order to
work with shared libs.
This commit is contained in:
Justin Ruggles
2011-11-26 17:00:00 -05:00
parent a17c3c7d15
commit 9d2dd356c2
5 changed files with 12 additions and 10 deletions

View File

@ -53,8 +53,8 @@ static int adx_parse(AVCodecParserContext *s1,
ff_combine_frame(pc, END_NOT_FOUND, &buf, &buf_size);
if (!s->header_size && pc->index >= MIN_HEADER_SIZE) {
if (ret = ff_adx_decode_header(avctx, pc->buffer, pc->index,
&s->header_size, NULL))
if (ret = avpriv_adx_decode_header(avctx, pc->buffer, pc->index,
&s->header_size, NULL))
return AVERROR_INVALIDDATA;
s->block_size = BLOCK_SIZE * avctx->channels;
}