#include "avcodec.h"
#include "bytestream.h"
-#include "libavutil/intreadwrite.h"
static av_cold int decode_init(AVCodecContext *avctx)
{
av_log(avctx, AV_LOG_ERROR, "Packet is too small.\n");
return AVERROR_INVALIDDATA;
}
- if (bytestream_get_le32(&buf) != AV_RL32("FRW1")) {
+ if (bytestream_get_le32(&buf) != MKTAG('F', 'R', 'W', '1')) {
av_log(avctx, AV_LOG_ERROR, "incorrect marker\n");
return AVERROR_INVALIDDATA;
}
.close = decode_close,
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1,
- .long_name = NULL_IF_CONFIG_SMALL("Forward Uncompressed"),
+ .long_name = NULL_IF_CONFIG_SMALL("Forward Uncompressed"),
};