Make ff_cmap_read_palette static to libavcodec/iff.c. Delete iff.h.

The iff.h header only declared one function that is now static, the
libavformat/iff.c source file wasn't using it before. Drop the file
entirely.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 2d162e3825)
This commit is contained in:
Diego Elio Pettenò 2011-01-25 00:29:44 +00:00 committed by Michael Niedermayer
parent dff80041e3
commit 4b21c38180
3 changed files with 1 additions and 33 deletions

View file

@ -29,7 +29,6 @@
#include "bytestream.h"
#include "avcodec.h"
#include "get_bits.h"
#include "iff.h"
typedef struct {
AVFrame frame;
@ -120,7 +119,7 @@ static av_always_inline uint32_t gray2rgb(const uint32_t x) {
/**
* Convert CMAP buffer (stored in extradata) to lavc palette format
*/
int ff_cmap_read_palette(AVCodecContext *avctx, uint32_t *pal)
static int ff_cmap_read_palette(AVCodecContext *avctx, uint32_t *pal)
{
int count, i;