[FFmpeg-devel] [PATCH] matroskaenc: write tags.

Aurelien Jacobs aurel
Tue Oct 5 11:38:58 CEST 2010


On Tue, Oct 05, 2010 at 10:27:43AM +0200, Anton Khirnov wrote:
> On Tue, Oct 05, 2010 at 10:05:14AM +0200, Aurelien Jacobs wrote:
> > 
> > As I said in my previous mail, the loop should be useless now that you
> > use strrchr(). What about this instead:
> > 
> >     if ((p = strrchr(p, '-')) &&
> >         (lang = av_convert_lang_to(p + 1, AV_LANG_ISO639_2_BIBL)))
> >         *p = 0;
> > 
> /me facepalms
> i should use my brain more often :)
> 
> correct (i hope) patch attached.

Yes, looks correct.
Committed.

Aurel



More information about the ffmpeg-devel mailing list