frwu: lowercase the FRWU codec name
This is more consistent with all the other codec names. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
parent
7f19bdc2a2
commit
3f57bde1f2
@ -27,7 +27,7 @@
|
|||||||
static av_cold int decode_init(AVCodecContext *avctx)
|
static av_cold int decode_init(AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
if (avctx->width & 1) {
|
if (avctx->width & 1) {
|
||||||
av_log(avctx, AV_LOG_ERROR, "FRWU needs even width\n");
|
av_log(avctx, AV_LOG_ERROR, "frwu needs even width\n");
|
||||||
return AVERROR(EINVAL);
|
return AVERROR(EINVAL);
|
||||||
}
|
}
|
||||||
avctx->pix_fmt = PIX_FMT_UYVY422;
|
avctx->pix_fmt = PIX_FMT_UYVY422;
|
||||||
@ -114,7 +114,7 @@ static av_cold int decode_close(AVCodecContext *avctx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
AVCodec ff_frwu_decoder = {
|
AVCodec ff_frwu_decoder = {
|
||||||
.name = "FRWU",
|
.name = "frwu",
|
||||||
.type = AVMEDIA_TYPE_VIDEO,
|
.type = AVMEDIA_TYPE_VIDEO,
|
||||||
.id = CODEC_ID_FRWU,
|
.id = CODEC_ID_FRWU,
|
||||||
.init = decode_init,
|
.init = decode_init,
|
||||||
|
Loading…
Reference in New Issue
Block a user