Skip to content

Commit

Permalink
Make ff_cmap_read_palette static to libavcodec/iff.c. Delete iff.h.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Flameeyes authored and mansr committed Jan 26, 2011
1 parent 4c57cde commit 2d162e3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 33 deletions.
3 changes: 1 addition & 2 deletions libavcodec/iff.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "bytestream.h"
#include "avcodec.h"
#include "get_bits.h"
#include "iff.h"

typedef struct {
AVFrame frame;
Expand Down Expand Up @@ -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;

Expand Down
30 changes: 0 additions & 30 deletions libavcodec/iff.h

This file was deleted.

1 change: 0 additions & 1 deletion libavformat/iff.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
*/

#include "libavutil/intreadwrite.h"
#include "libavcodec/iff.h"
#include "avformat.h"

#define ID_8SVX MKTAG('8','S','V','X')
Expand Down

0 comments on commit 2d162e3

Please sign in to comment.