[x264-devel] Re: Stricter bs_init() parameter typing in bs.h...

Måns Rullgård mru at inprovide.com
Thu Mar 31 23:52:30 CEST 2005


"Peter Booth" <peter at ionwerks.net> writes:

> ...Doesn't really qualify as a patch but I wonder if (all other
> things being equal) it would be possible to alter the following
> procedure definition on line 38 of /common/bs.h from...
>
> static inline void bs_init( bs_t *s, void *p_data, int i_data )
>
> ...to...
>
> static inline void bs_init( bs_t *s, uint8_t *p_data, int i_data )
>
> ...it's the only thing I have to alter get my current C++ based
> implementation to compile.

Why don't you compile it with a C compiler, and just link as usual to
your C++ application?

-- 
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