#include "avcodec.h"
#include "internal.h"
-#include "libavutil/common.h"
+#include "mathops.h"
static av_cold int xbm_encode_init(AVCodecContext *avctx)
{
buf += snprintf(buf, 40, "static unsigned char image_bits[] = {\n");
for (i = 0; i < avctx->height; i++) {
for (j = 0; j < linesize; j++)
- buf += snprintf(buf, 7, " 0x%02X,", av_reverse[*ptr++]);
+ buf += snprintf(buf, 7, " 0x%02X,", ff_reverse[*ptr++]);
ptr += p->linesize[0] - linesize;
buf += snprintf(buf, 2, "\n");
}