[FFmpeg-devel] [PATCH] avrn: lowercase "name" and expand "long_name"

Michael Niedermayer michaelni at gmx.at
Tue Aug 21 20:35:52 CEST 2012


On Tue, Aug 21, 2012 at 11:41:33AM +0200, Piotr Bandurski wrote:
> diff --git a/libavcodec/avrndec.c b/libavcodec/avrndec.c
> index d9f33d7..8305028 100644
> --- a/libavcodec/avrndec.c
> +++ b/libavcodec/avrndec.c
> @@ -118,14 +118,14 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
>  }
>  
>  AVCodec ff_avrn_decoder = {
> -    .name           = "AVRn",
> +    .name           = "avrn",
>      .type           = AVMEDIA_TYPE_VIDEO,
>      .id             = AV_CODEC_ID_AVRN,
>      .priv_data_size = sizeof(AVRnContext),
>      .init           = init,
>      .close          = end,
>      .decode         = decode_frame,
> -    .long_name      = NULL_IF_CONFIG_SMALL("AVRn"),
> +    .long_name      = NULL_IF_CONFIG_SMALL("Avid AVI Codec"),
>      .capabilities   = CODEC_CAP_DR1,
>  };

this is missing a matching change to codec_desc.c

[..]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120821/168877ae/attachment.asc>


More information about the ffmpeg-devel mailing list