]> git.sesse.net Git - ffmpeg/commitdiff
iff: drop ff_ prefix from a static function.
authorAnton Khirnov <anton@khirnov.net>
Sat, 8 Dec 2012 14:20:46 +0000 (15:20 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 26 Jan 2013 12:02:33 +0000 (13:02 +0100)
libavcodec/iff.c

index 99da7b5d614f9ba9fc8f1edbd183dfb8e30d9cd7..584e7f983fcff0d7d6180cf11d04837bcedba725 100644 (file)
@@ -120,7 +120,7 @@ static av_always_inline uint32_t gray2rgb(const uint32_t x) {
 /**
  * Convert CMAP buffer (stored in extradata) to lavc palette format
  */
-static int ff_cmap_read_palette(AVCodecContext *avctx, uint32_t *pal)
+static int cmap_read_palette(AVCodecContext *avctx, uint32_t *pal)
 {
     int count, i;
 
@@ -265,7 +265,7 @@ static int decode_frame_ilbm(AVCodecContext *avctx,
         av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
         return res;
     } else if (avctx->bits_per_coded_sample <= 8 && avctx->pix_fmt != AV_PIX_FMT_GRAY8) {
-        if ((res = ff_cmap_read_palette(avctx, (uint32_t*)s->frame.data[1])) < 0)
+        if ((res = cmap_read_palette(avctx, (uint32_t*)s->frame.data[1])) < 0)
             return res;
     }
     s->init = 1;
@@ -322,7 +322,7 @@ static int decode_frame_byterun1(AVCodecContext *avctx,
         av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
         return res;
     } else if (avctx->bits_per_coded_sample <= 8 && avctx->pix_fmt != AV_PIX_FMT_GRAY8) {
-        if ((res = ff_cmap_read_palette(avctx, (uint32_t*)s->frame.data[1])) < 0)
+        if ((res = cmap_read_palette(avctx, (uint32_t*)s->frame.data[1])) < 0)
             return res;
     }
     s->init = 1;