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

Anton Khirnov anton
Tue Oct 5 10:27:43 CEST 2010


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.

-- 
Anton Khirnov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-matroskaenc-write-tags.patch
Type: text/x-diff
Size: 4440 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101005/e19238b2/attachment.patch>
-------------- 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/20101005/e19238b2/attachment.pgp>



More information about the ffmpeg-devel mailing list