--- xineliboutput-1.0.5/xine_post_audiochannel.orig.c 2010-02-06 21:42:16.000000000 +0100 +++ xineliboutput-1.0.5/xine_post_audiochannel.c 2012-07-20 00:07:28.000000000 +0200 @@ -70,7 +70,7 @@ /* * Port functions */ -#if XINE_VERSION_CODE < 10200 +#if XINE_VERSION_CODE <= 10201 static int audioch_port_open(xine_audio_port_t *port_gen, xine_stream_t *stream, uint32_t bits, uint32_t rate, int mode) #else @@ -85,7 +85,7 @@ _x_post_inc_usage(port); port->stream = stream; -#if XINE_VERSION_CODE < 10200 +#if XINE_VERSION_CODE <= 10201 port->bits = bits; port->rate = rate; port->mode = mode; @@ -112,7 +112,7 @@ int i; if(this->channels == 2) { -#if XINE_VERSION_CODE < 10200 +#if XINE_VERSION_CODE <= 10201 int step = buf->format.bits / 8; #else int step = sample_bytes_table[buf->format.sample_format]; @@ -122,7 +122,7 @@ newbuf->vpts = buf->vpts; newbuf->frame_header_count = buf->frame_header_count; newbuf->first_access_unit = buf->first_access_unit; -#if XINE_VERSION_CODE < 10200 +#if XINE_VERSION_CODE <= 10201 newbuf->format.bits = buf->format.bits; newbuf->format.rate = buf->format.rate; newbuf->format.mode = buf->format.mode;