Re: [Audacity-devel] A few minor changes in FFmpeg component
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: LRN <lr...@gm...> - 2008-08-03 00:02:11
|
Gale Andrews wrote: > | From LRN<lr...@gm...> > | Sat, 02 Aug 2008 16:47:28 +0400 > | Subject: [Audacity-devel] A few minor changes in FFmpeg component > >> -Fixed FFmpeg tag import. >> -Fixed FFmpeg tag export. >> > I think the penny's dropped that I mostly was not seeing these errors > because I build ANSI? > > I just get one error compiling in MSVC: > > ExportFFmpeg.cpp > ..\..\..\src\export\ExportFFmpeg.cpp(1488) : error C2228: left of '.data' must have class/struct/union > type is 'const wxChar *' > > Fixed. Note to himself: To convert wxString to 8-bit ASCII (cp-12xx) pass "wxstringobject.mb_str()" instead of "char *" each time a function requires it or strdup it and then use at will. *Never* try to "wxCharBuffer *buf = wxstringobject.mb_str()". "wxCharBuffer *buf = wxstringobject.ToUTF8()" is o though. *Never* pass "wxstringobject.c_str()" to anything but printf() with "%s" field. |