From: Philipp Zabel Date: Tue, 5 Aug 2014 17:00:17 +0000 (-0300) Subject: [media] coda: fix timestamp list handling X-Git-Tag: fixes-against-v3.18-rc2~130^2^2~465 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18fd0cceb99fdfd551bb6520703f8e1be4f3f364;p=pandora-kernel.git [media] coda: fix timestamp list handling Lock modification of the timestamp list with bitstream_mutex and do not try to remove a timestamp element if the list is empty. This can happen if the userspace feeds us garbage or multiple encoded frames in a single buffer. Signed-off-by: Michael Olbrich Signed-off-by: Philipp Zabel Signed-off-by: Kamil Debski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed