[x264-devel] Re: x264 for g++ compiler on r239

Måns Rullgård mru at inprovide.com
Wed May 25 10:47:53 CEST 2005


Loren Merritt <lorenm at u.washington.edu> writes:

> On Wed, 25 May 2005, champ yen wrote:
>
>>    Recently, I started my personal hobby project "x264++" to create a
>> C++ H.264 Codec based on x264. First, I modified x264 r239 for g++
>> compilation. In the future, I will write c++ classes to replace each
>> part of x264 C code. If anyone want to test it, it could be downloaded
>> from:
>>
>> http://www.ccns.ncku.edu.tw/~champ/x264_239_g++.tgz
>>
>> I hope that offcial x264 would adopt this modification. BTW, It could
>> still be compiled by gcc, too. Simply change the line of CC="g++" to
>> CC="gcc" in the  'configure' file. Remeber to execute configure first
>> before you make...^^
>
> Why?!
> I mean, feel free to port x264 to whatever language you want, but my
> version is and will remain a C program. I won't clutter the code with
> ifdefs or unnecessary casts just to make g++ happy.

A completely separate C++ wrapper class might be useful to someone.
IMHO, we could even consider including such a thing in the official
tree.

-- 
Måns Rullgård
mru at inprovide.com

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list