Re: scantv?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Jacek Popławski <jpopl@xxxxxxxxxx> writes:

> I just installed libzvbi. 
>
> common/vbi-data.c in line 84 there is:
>
> vbi->sliced = malloc(vbi->lines * sizeof(struct vbi_sliced));
>
> should be:
>
> vbi->sliced = malloc(vbi->lines * sizeof(vbi_sliced));

i've already sent such a patch to gerd several weeks ago but i never
receive any answer :

--- ./common/vbi-data.c.zvbi	2002-10-10 15:06:13.000000000 +0200
+++ ./common/vbi-data.c	2002-10-10 15:02:49.000000000 +0200
@@ -81,7 +81,7 @@
     vbi->raw = malloc(vbi->lines * vbi->par->bytes_per_line);
     if (NULL == vbi->raw)
 	goto oops;
-    vbi->sliced = malloc(vbi->lines * sizeof(struct vbi_sliced));
+    vbi->sliced = malloc(vbi->lines * sizeof(vbi_sliced));
     if (NULL == vbi->sliced)
 	goto oops;
     vbi->tv.tv_sec  = 1;
--- ./common/vbi-data.h.zvbi	2002-10-10 15:05:54.000000000 +0200
+++ ./common/vbi-data.h	2002-10-10 15:02:22.000000000 +0200
@@ -10,7 +10,7 @@
     struct vbi_decoder      *dec;
     struct vbi_capture      *cap;
     struct vbi_raw_decoder  *par;
-    struct vbi_sliced       *sliced;
+    vbi_sliced       *sliced;
     uint8_t                 *raw;
     char                    *err;
     int                     lines,fd,sim,debug;

[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux