]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (4627): Vivi crashes with mplayer
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 13 Sep 2006 16:26:03 +0000 (13:26 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 26 Sep 2006 15:30:36 +0000 (12:30 -0300)
commitd7fbefe06d2061de126095f903359ce1ef61faf3
tree42da9dcd05563bc73624d16ca670cdca7fc03590
parent183d896a03e1f0e4ab69d75f123d33a62b47cf03
V4L/DVB (4627): Vivi crashes with mplayer

The vivi.current_norm field is not initialized in vivi.c, so a
VIDIOC_G_STD ioctl without a prior call to VIDIOC_S_STD gives
unpredictable results. mplayer does exactly this.

Signed-off-by Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/vivi.c