[FFmpeg-devel] Suggestion for a centralized language-tag facility in libavformat

cyril comparon cyril.comparon
Mon Apr 20 17:20:49 CEST 2009


I addressed all the issues you raised, expect this one:

>> +
>> + ? ?av_strlcpy(searchedEntry.str, lang, 4);
>
> this and searchedEntry are redundant

Since I bsearch over a list of LangEntries, I need to define a
LangEntry key and thus copy the searched string into its embedded
char[4]. I know that's kind of awful but I want to avoid further
hacking.

Cyril
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1_avlanguage.patch
Type: application/octet-stream
Size: 27172 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090420/dfac1c26/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2_asf_languages.patch
Type: application/octet-stream
Size: 8672 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090420/dfac1c26/attachment-0001.obj>



More information about the ffmpeg-devel mailing list