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>
This commit is contained in:

committed by
Mans Rullgard

parent
4c57cde942
commit
2d162e3825
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user