[FFmpeg-devel] [PATCH] Support for UTF8 filenames on Windows

Karl Blomster thefluff
Wed Aug 5 01:05:20 CEST 2009


Karl Blomster wrote:
> Ramiro Polla wrote:
>> On Tue, Jul 28, 2009 at 1:32 AM, Ramiro Polla<ramiro.polla at gmail.com> 
>> wrote:
>>> On Wed, Jul 22, 2009 at 10:11 PM, Ramiro 
>>> Polla<ramiro.polla at gmail.com> wrote:
>>>> On Tue, Jul 21, 2009 at 7:22 PM, Diego Biurrun<diego at biurrun.de> wrote:
>>>>> On Tue, Jul 21, 2009 at 05:20:51PM -0300, Ramiro Polla wrote:
>>>>>> Ok, then, I need someone to take a look at the build system part (I
>>>>>> used FF_EXTRA_OBJS but there are some other combinations with less
>>>>>> underscores and I can't tell which one is best). Also another look at
>>>>>> the documentation is always welcome.
>>>>> Please resend the latest version.
>>>> Attached.
>>>>
>>>> Changed UNICODE to Unicode and added a LocalFree() I had forgotten.
>>>>
>>>> There's a #undef __STRICT_ANSI__ in winmain.c because I need the
>>>> definitions of __argc and __argv and they're under #ifdef
>>>> __STRICT_ANSI__. I could also re-declare as extern.
>>> Newer patch that should take care of WinCE.
>>
>>> Karl, could you please
>>> test the patch to make sure it does what you need?
>>
>> ping
 >
> Here, getenv() always returns NULL even if the variable exists, and so 
> the UTF8 opening path never gets evaluated.

Whoops, I'm wrong, it turns out the variable wasn't set after all. getenv() does 
work and so does the rest of the patch, but I still don't like having to set the 
environment variable.

Regards,
Karl Blomster



More information about the ffmpeg-devel mailing list