Re: [PATCH] 1/3: BUG FIX in dvb_ringbuffer_flush

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrea wrote:
> Andrea wrote:
>> I've just added a comment to patch 1/3.
>> I post it here again.
>>
>> This patch fixes the bug in DMX_SET_BUFFER_SIZE for the demux.
>> Basically it resets read and write pointers to 0 in case they are 
>> beyond the new size of the buffer.
>>
>> In the next patch (2/3) I rewrite this function to behave the same as 
>> the new DMX_SET_BUFFER_SIZE for the dvr.
>> I thought it is a good idea for the 2 very similar ioctl to be 
>> implemented in the same way.
>>
>> Andrea
> 
> I've fixed some formatting errors reported by "make checkpatch".
> 
> Andrea


This patch fixes a bug in DMX_SET_BUFFER_SIZE in case the buffer shrinks.

Signed-off-by: Andrea Odetti <mariofutire@xxxxxxxxx>

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux