[MPlayer-cvslog] r34241 - trunk/libao2/ao_coreaudio.c
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sun Oct 23 17:38:28 CEST 2011
On 23 Oct 2011, at 16:30, Diego Biurrun <diego at biurrun.de> wrote:
> 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.
I'll try. Though in that case it was just an ancient patch lying around and I just didn't think about it at first.
>
More information about the MPlayer-cvslog
mailing list