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

Stefano Sabatini stefasab at gmail.com
Thu Aug 23 10:26:21 CEST 2012


On date Tuesday 2012-08-21 20:35:52 +0200, Michael Niedermayer encoded:
> 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

BTW it doesn't make much sense to keep that info in AVCodec now that
there are these codec descriptors.
-- 
FFmpeg = Faithful & Fabulous Monstrous Pacific Eager God


More information about the ffmpeg-devel mailing list