diff indeo2.c @ 10501:bdf4a9ca162a libavcodec

Move ff_reverse in libavcodec to av_reverse in libavutil. Patch by Francesco Lavra, francescolavra interfree it
author cehoyos
date Mon, 09 Nov 2009 09:11:35 +0000
parents 8a137661f31e
children 8a4984c5cacc
line wrap: on
line diff
--- a/indeo2.c	Sun Nov 08 23:37:59 2009 +0000
+++ b/indeo2.c	Mon Nov 09 09:11:35 2009 +0000
@@ -27,6 +27,7 @@
 #include "avcodec.h"
 #include "get_bits.h"
 #include "indeo2data.h"
+#include "libavutil/common.h"
 
 typedef struct Ir2Context{
     AVCodecContext *avctx;
@@ -160,7 +161,7 @@
     /* decide whether frame uses deltas or not */
 #ifndef ALT_BITSTREAM_READER_LE
     for (i = 0; i < buf_size; i++)
-        buf[i] = ff_reverse[buf[i]];
+        buf[i] = av_reverse[buf[i]];
 #endif
     start = 48; /* hardcoded for now */