aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-10-17 10:10:42 +0200
committerAnton Khirnov <anton@khirnov.net>2011-10-20 21:06:58 +0200
commit9f51c682ee83ecf0995648d4574ac09b52bbcb24 (patch)
treec5976926717940042b4b54cc56b35858914e3fa4 /libavformat
parent6f89efeaa7eceb3408abb6e593d892ec819177a7 (diff)
downloadffmpeg-9f51c682ee83ecf0995648d4574ac09b52bbcb24.tar.gz
lavc: use avpriv_ prefix for ff_copy_bits and align_put_bits.
They are used in lavf.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/latmenc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c
index 2e72c489bc..679f2cc9c6 100644
--- a/libavformat/latmenc.c
+++ b/libavformat/latmenc.c
@@ -106,9 +106,9 @@ static int latm_write_frame_header(AVFormatContext *s, PutBitContext *bs)
/* AudioSpecificConfig */
if (ctx->object_type == AOT_ALS) {
header_size = avctx->extradata_size-(ctx->off + 7) >> 3;
- ff_copy_bits(bs, &avctx->extradata[ctx->off], header_size);
+ avpriv_copy_bits(bs, &avctx->extradata[ctx->off], header_size);
} else {
- ff_copy_bits(bs, avctx->extradata, ctx->off + 3);
+ avpriv_copy_bits(bs, avctx->extradata, ctx->off + 3);
if (!ctx->channel_conf) {
avpriv_copy_pce_data(bs, &gb);
@@ -161,7 +161,7 @@ static int latm_write_packet(AVFormatContext *s, AVPacket *pkt)
for (i = 0; i < pkt->size; i++)
put_bits(&bs, 8, pkt->data[i]);
- align_put_bits(&bs);
+ avpriv_align_put_bits(&bs);
flush_put_bits(&bs);
len = put_bits_count(&bs) >> 3;