diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-09 19:08:43 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-09 19:08:43 -0200 |
commit | 803b1cde37f44f2d09bb97bef92d74ead3279578 (patch) | |
tree | 19bca69318c3ca400d01349582322fcf1d5da1e4 /linux/drivers/media/video/cx18/cx18-controls.c | |
parent | 41579b5b51a952f7bfaf05f5147f83148a7a3a68 (diff) | |
parent | 97ff0b0275491dc62dbee36a7e53c4c3455efa8e (diff) | |
download | mediapointer-dvb-s2-803b1cde37f44f2d09bb97bef92d74ead3279578.tar.gz mediapointer-dvb-s2-803b1cde37f44f2d09bb97bef92d74ead3279578.tar.bz2 |
merge: http://linuxtv.org/hg/~dougsland/radios
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-controls.c')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-controls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-controls.c b/linux/drivers/media/video/cx18/cx18-controls.c index 17edf305d..6af4d5c19 100644 --- a/linux/drivers/media/video/cx18/cx18-controls.c +++ b/linux/drivers/media/video/cx18/cx18-controls.c @@ -178,8 +178,8 @@ static int cx18_setup_vbi_fmt(struct cx18 *cx, enum v4l2_mpeg_stream_vbi_fmt fmt int i; for (i = 0; i < CX18_VBI_FRAMES; i++) { - /* Yuck, hardcoded. Needs to be a define */ - cx->vbi.sliced_mpeg_data[i] = kmalloc(2049, GFP_KERNEL); + cx->vbi.sliced_mpeg_data[i] = + kmalloc(CX18_SLICED_MPEG_DATA_BUFSZ, GFP_KERNEL); if (cx->vbi.sliced_mpeg_data[i] == NULL) { while (--i >= 0) { kfree(cx->vbi.sliced_mpeg_data[i]); |