QUOTE
[UNREAL][' date='Jan 23 2010, 03:06 AM' post='4622714']
News about the libavcodec?
I am looking into compiling it.
Most of the issues can be resolved by creating replacements for some missing headers.
One big problem right now is C99 designated initializers.
There exists 100+ of these types of struct initializers:
------------C99 type -----------
AVCodec eightsvx_exp_decoder = {
.name = "8svx_exp",
.type = CODEC_TYPE_AUDIO,
.id = CODEC_ID_8SVX_EXP,
.priv_data_size = sizeof (EightSvxContext),
.init = eightsvx_decode_init,
.decode = eightsvx_decode_frame,
.long_name = NULL_IF_CONFIG_SMALL("8SVX exponential"),
};
-----------------------
And vc2005 doesn't support this, I probably have to create a script that converts all of these initializers to standard C89 style.
Info on msdn about this issue:
http://social.msdn.m...0-2614b333e9e0/Does someone have any other solution to this issue in mind? Manually patching >>100 .c files is not an option in my mind..
This guy has done it for windows, but he is using the intel compiler that is more c99 friendly
See
http://www.arawix.co.....-VS2005).aspx