summaryrefslogtreecommitdiff
path: root/libavcodec/rawdec.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-09 22:22:36 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-11-09 22:22:36 +0000
commited5d30d91ca226fce0ff47a284df5e724cd0adcc (patch)
tree7e8351a89a0ee383f90bed00bc3b3f63ac77ced2 /libavcodec/rawdec.c
parenta29039aef39f16c28649c39025765b10bda0b74a (diff)
downloadffmpeg-ed5d30d91ca226fce0ff47a284df5e724cd0adcc.tar.gz
Move internal function ff_set_systematic_pal() to libavcore, and
rename it ff_set_systematic_pal2(). Originally committed as revision 25712 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r--libavcodec/rawdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index e8c4bd8fc3..c6642077f6 100644
--- a/libavcodec/rawdec.c
+++ b/libavcodec/rawdec.c
@@ -29,6 +29,7 @@
#include "raw.h"
#include "libavutil/intreadwrite.h"
#include "libavcore/imgutils.h"
+#include "libavcore/internal.h"
typedef struct RawVideoContext {
uint32_t palette[AVPALETTE_COUNT];
@@ -83,7 +84,7 @@ static av_cold int raw_init_decoder(AVCodecContext *avctx)
else if (avctx->pix_fmt == 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_pal(context->palette, avctx->pix_fmt);
+ ff_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==PIX_FMT_PAL8 &&