[MPlayer-cvslog] r34241 - trunk/libao2/ao_coreaudio.c
Diego Biurrun
diego at biurrun.de
Sun Oct 23 16:30:41 CEST 2011
On Sun, Oct 23, 2011 at 02:03:14PM +0200, reimar wrote:
>
> --- trunk/libao2/ao_coreaudio.c Sun Oct 23 14:00:24 2011 (r34240)
> +++ trunk/libao2/ao_coreaudio.c Sun Oct 23 14:03:13 2011 (r34241)
> @@ -133,7 +133,10 @@ static int write_buffer(unsigned char* d
> static int read_buffer(unsigned char* data,int len){
> int buffered = av_fifo_size(ao->buffer);
> if (len > buffered) len = buffered;
> + if (data)
> av_fifo_generic_read(ao->buffer, data, len, NULL);
> + else
> + av_fifo_drain(ao->buffer, len);
Please fix indentation right away. Having separate commits for one line
indentation changes is plain silly.
Diego
More information about the MPlayer-cvslog
mailing list