mirror of https://git.ffmpeg.org/ffmpeg.git
xbmdec: s/av_reverse/ff_reverse
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
183117fed7
commit
a5e0046a73
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue