[FFmpeg-devel] [PATCH] Use MKTAG() in opt_codec_tag().

Michael Niedermayer michaelni
Sun Oct 31 11:32:46 CET 2010


On Sat, Oct 30, 2010 at 10:12:11PM +0200, Stefano Sabatini wrote:
> On date Thursday 2010-10-28 16:23:47 -0700, Stefano Sabatini encoded:
> > ---
> >  ffmpeg.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/ffmpeg.c b/ffmpeg.c
> > index 3c92a26..bcda28a 100644
> > --- a/ffmpeg.c
> > +++ b/ffmpeg.c
> > @@ -2840,7 +2840,7 @@ static void opt_codec_tag(const char *opt, const char *arg)
> >  
> >      *codec_tag = strtol(arg, &tail, 0);
> >      if (!tail || *tail)
> > -        *codec_tag = arg[0] + (arg[1]<<8) + (arg[2]<<16) + (arg[3]<<24);
> > +        *codec_tag = MKTAG(arg[0], arg[1], arg[2], arg[3]);
> >  }
> 
> Ping. I'll apply tomorrow if no one complains.

AV_RL32()

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101031/5b119d32/attachment.pgp>



More information about the ffmpeg-devel mailing list