aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/cx18/cx18-vbi.c2
-rw-r--r--drivers/media/video/ivtv/ivtv-vbi.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-vbi.c b/drivers/media/video/cx18/cx18-vbi.c
index 355737bff13e..99f9b2c86b0c 100644
--- a/drivers/media/video/cx18/cx18-vbi.c
+++ b/drivers/media/video/cx18/cx18-vbi.c
@@ -88,6 +88,8 @@ static void copy_vbi_data(struct cx18 *cx, int lines, u32 pts_stamp)
88 size = 4 + ((43 * line + 3) & ~3); 88 size = 4 + ((43 * line + 3) & ~3);
89 } else { 89 } else {
90 memcpy(dst + sd, "itv0", 4); 90 memcpy(dst + sd, "itv0", 4);
91 cpu_to_le32s(&linemask[0]);
92 cpu_to_le32s(&linemask[1]);
91 memcpy(dst + sd + 4, &linemask[0], 8); 93 memcpy(dst + sd + 4, &linemask[0], 8);
92 size = 12 + ((43 * line + 3) & ~3); 94 size = 12 + ((43 * line + 3) & ~3);
93 } 95 }
diff --git a/drivers/media/video/ivtv/ivtv-vbi.c b/drivers/media/video/ivtv/ivtv-vbi.c
index 5c5d1c462fef..f420d31b937d 100644
--- a/drivers/media/video/ivtv/ivtv-vbi.c
+++ b/drivers/media/video/ivtv/ivtv-vbi.c
@@ -185,6 +185,8 @@ static void copy_vbi_data(struct ivtv *itv, int lines, u32 pts_stamp)
185 size = 4 + ((43 * line + 3) & ~3); 185 size = 4 + ((43 * line + 3) & ~3);
186 } else { 186 } else {
187 memcpy(dst + sd, "itv0", 4); 187 memcpy(dst + sd, "itv0", 4);
188 cpu_to_le32s(&linemask[0]);
189 cpu_to_le32s(&linemask[1]);
188 memcpy(dst + sd + 4, &linemask[0], 8); 190 memcpy(dst + sd + 4, &linemask[0], 8);
189 size = 12 + ((43 * line + 3) & ~3); 191 size = 12 + ((43 * line + 3) & ~3);
190 } 192 }