[FFmpeg-cvslog] Handle unicode file names on windows

Martin Storsjö martin at martin.st
Sun Apr 24 18:43:00 CEST 2011


On Sun, 24 Apr 2011, Reimar Döffinger wrote:

> On Sun, Apr 24, 2011 at 07:31:56PM +0300, Martin Storsjö wrote:
> > On Sun, 24 Apr 2011, Reimar Döffinger wrote:
> > 
> > > On Sun, Apr 24, 2011 at 03:50:11AM +0200, Kirill Gavrilov wrote:
> > > > +#if defined(_WIN32) && !defined(__MINGW32CE__)
> > > 
> > > It's hardly relevant but that condition probably isn't quite right.
> > > The question is really if wide-character support is available,
> > > and e.g. it isn't for a default Windows 95 either.
> > > Of course few still use that and there are libraries to add it to my
> > > knowledge (I think OpenOffice used to handle it that way)
> > > so a configure check might well be overkill anyway.
> > 
> > If it really is desired, those codepaths could be skipped at runtime, so 
> > it isn't necessary to disable it at compile time. Adding such checks makes 
> > it a little bit uglier though.
> > 
> > However, since fc5607f8620 (Feb 22 2010), the built binaries don't load on 
> > Win 9x at all. Since I haven't heard about anybody complaining about that, 
> > I don't think this is a big issue either.
> 
> That affects only ffmpeg itself. There are still some people who build and
> use e.g. MPlayer for Win9x and even DOS.

Ah, good point.

> They probably can just add stubs or similar and anyway I don't think it
> is a big concern but I wanted to mention it, in case someone has a
> good idea or just objections.

Yeah, it's good to be aware of the issue at least.

// Martin


More information about the ffmpeg-cvslog mailing list