xbmdec: s/av_reverse/ff_reverse

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2012-10-13 18:00:48 +00:00
parent 183117fed7
commit a5e0046a73
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@
#include "avcodec.h" #include "avcodec.h"
#include "internal.h" #include "internal.h"
#include "mathops.h"
static av_cold int xbm_decode_init(AVCodecContext *avctx) static av_cold int xbm_decode_init(AVCodecContext *avctx)
{ {
@ -98,7 +99,7 @@ static int xbm_decode_frame(AVCodecContext *avctx, void *data,
ptr++; ptr++;
if (isxdigit(*ptr)) if (isxdigit(*ptr))
val = (val << 4) + convert(*ptr); val = (val << 4) + convert(*ptr);
*dst++ = av_reverse[val]; *dst++ = ff_reverse[val];
} else { } else {
av_log(avctx, AV_LOG_ERROR, "Unexpected data at '%.8s'\n", ptr); av_log(avctx, AV_LOG_ERROR, "Unexpected data at '%.8s'\n", ptr);
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;