]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (11091): cx18, ivtv: Ensure endianess for linemasks in VBI embedded in MPEG...
authorAndy Walls <awalls@radix.net>
Sat, 14 Mar 2009 23:03:26 +0000 (20:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:28 +0000 (12:43 -0300)
commit90af5184ef1afbb18c36520b1abc63ddb618c2a6
tree967cb8d64788393ea40c5ccef5ad4bc8760b6910
parentaf31f65c6c8f660af007c41f950ed67175932a1c
V4L/DVB (11091): cx18, ivtv: Ensure endianess for linemasks in VBI embedded in MPEG stream

The sliced VBI payloads that cx18 and ivtv would insert in the MPEG stream
did not have consistent endianess for the linemasks in the payload (a big
endian platform would write them out big endian).  This change ensures the
linemasks are always stored as little-endian in the MPEG stream to ensure
cross platform consistency in parsing the generated MPEG stream.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-vbi.c
drivers/media/video/ivtv/ivtv-vbi.c