On 02/01/2012 03:23 PM, Paul B Mahol wrote: > From: Piotr Bandurski <[email protected]> > > This is more consistent with all the other codec names. > > Signed-off-by: Paul B Mahol <[email protected]> > --- > libavcodec/frwu.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/frwu.c b/libavcodec/frwu.c > index 9ef29cd..fc4dc9b 100644 > --- a/libavcodec/frwu.c > +++ b/libavcodec/frwu.c > @@ -27,7 +27,7 @@ > static av_cold int decode_init(AVCodecContext *avctx) > { > 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_INVALIDDATA; > } > avctx->pix_fmt = PIX_FMT_UYVY422; > @@ -114,7 +114,7 @@ static av_cold int decode_close(AVCodecContext *avctx) > } > > AVCodec ff_frwu_decoder = { > - .name = "FRWU", > + .name = "frwu", > .type = AVMEDIA_TYPE_VIDEO, > .id = CODEC_ID_FRWU, > .init = decode_init,
ok in principle. although we should probably use av_strncasecmp() in avcodec_find_decoder_by_name() rather than strcmp() so that either will match. -Justin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
