diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-10-04 23:15:51 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-10-13 21:59:20 +0400 |
commit | 52d113ee06ba136e530c11e651a5ae085384d49c (patch) | |
tree | 578e2ee8fa930d60d628fb3ecb011bb27fdcedd1 /libavcodec | |
parent | b6f8d635f27bd1234508679c93e04f60a36c2f1e (diff) |
avutil: Rename ff_set_systematic_pal2() ---> avpriv_set_systematic_pal2()
Functions used across libraries should have avpriv_ and not ff_ prefixes.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/bmpenc.c | 2 | ||||
-rw-r--r-- | libavcodec/rawdec.c | 2 | ||||
-rw-r--r-- | libavcodec/utils.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/bmpenc.c b/libavcodec/bmpenc.c index a798f34409..d27282dc13 100644 --- a/libavcodec/bmpenc.c +++ b/libavcodec/bmpenc.c @@ -93,7 +93,7 @@ static int bmp_encode_frame(AVCodecContext *avctx, AVPacket *pkt, case AV_PIX_FMT_RGB4_BYTE: case AV_PIX_FMT_BGR4_BYTE: case AV_PIX_FMT_GRAY8: - ff_set_systematic_pal2((uint32_t*)p->data[1], avctx->pix_fmt); + avpriv_set_systematic_pal2((uint32_t*)p->data[1], avctx->pix_fmt); case AV_PIX_FMT_PAL8: pal = (uint32_t *)p->data[1]; break; diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index 0f47e3f96d..449755f9b2 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -86,7 +86,7 @@ static av_cold int raw_init_decoder(AVCodecContext *avctx) else if (avctx->pix_fmt == AV_PIX_FMT_NONE && avctx->bits_per_coded_sample) avctx->pix_fmt = find_pix_fmt(pix_fmt_bps_avi, avctx->bits_per_coded_sample); - ff_set_systematic_pal2(context->palette, avctx->pix_fmt); + avpriv_set_systematic_pal2(context->palette, avctx->pix_fmt); context->length = avpicture_get_size(avctx->pix_fmt, avctx->width, avctx->height); if((avctx->bits_per_coded_sample == 4 || avctx->bits_per_coded_sample == 2) && avctx->pix_fmt==AV_PIX_FMT_PAL8 && diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 4a3ac72b6c..bb99a5a32d 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -482,7 +482,7 @@ static int video_get_buffer(AVCodecContext *s, AVFrame *pic) buf->linesize[i] = 0; } if (size[1] && !size[2]) - ff_set_systematic_pal2((uint32_t *)buf->data[1], s->pix_fmt); + avpriv_set_systematic_pal2((uint32_t *)buf->data[1], s->pix_fmt); buf->width = s->width; buf->height = s->height; buf->pix_fmt = s->pix_fmt; |