summaryrefslogtreecommitdiffstats
path: root/libavcodec/adxdec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-11-26 17:00:00 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2011-11-26 17:00:00 -0500
commit9d2dd356c2eb1ac403f05e7975e3a904e844aa17 (patch)
treeccab559d7236d0c27d2218e8500bf060c0c33503 /libavcodec/adxdec.c
parenta17c3c7d15a841ce330e142966b9420fb64cf299 (diff)
downloadffmpeg-streaming-9d2dd356c2eb1ac403f05e7975e3a904e844aa17.zip
ffmpeg-streaming-9d2dd356c2eb1ac403f05e7975e3a904e844aa17.tar.gz
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.
Diffstat (limited to 'libavcodec/adxdec.c')
-rw-r--r--libavcodec/adxdec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/adxdec.c b/libavcodec/adxdec.c
index ca96a90..4558060 100644
--- a/libavcodec/adxdec.c
+++ b/libavcodec/adxdec.c
@@ -41,8 +41,9 @@ static av_cold int adx_decode_init(AVCodecContext *avctx)
if (avctx->extradata_size < 24)
return AVERROR_INVALIDDATA;
- if ((ret = ff_adx_decode_header(avctx, avctx->extradata, avctx->extradata_size,
- &header_size, c->coeff)) < 0) {
+ if ((ret = avpriv_adx_decode_header(avctx, avctx->extradata,
+ avctx->extradata_size, &header_size,
+ c->coeff)) < 0) {
av_log(avctx, AV_LOG_ERROR, "error parsing ADX header\n");
return AVERROR_INVALIDDATA;
}
OpenPOWER on IntegriCloud