From: Andrea Odetti Date: Sun, 20 Apr 2008 21:37:45 +0000 (-0300) Subject: V4L/DVB (7658): dvb-core: Fix DMX_SET_BUFFER_SIZE in case the buffer shrinks X-Git-Tag: v2.6.26-rc1~1084^2~69 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48c01a9c2d245b229f8b709040cb1776b00dc683;p=pandora-kernel.git V4L/DVB (7658): dvb-core: Fix DMX_SET_BUFFER_SIZE in case the buffer shrinks 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. Signed-off-by: Andrea Odetti Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed