summaryrefslogtreecommitdiff
path: root/misc/vbidecode/files/patch-aa
blob: 5ba6b3f36812f5b72df0fc11b93f79b8997b185a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
*** vbidecode.cc.orig	Sun Feb 28 18:18:04 1999
--- vbidecode.cc	Tue Feb  1 16:14:39 2000
*************** TODO:
*** 52,58 ****
  #include <sys/stat.h>
  
  #include "tables.h"
! #include "../../driver/bttv.h"
  
  int verbosity=0;
  
--- 52,59 ----
  #include <sys/stat.h>
  
  #include "tables.h"
! /* #include "../../driver/bttv.h" */
! #define VBI_MAXLINES 16
  
  int verbosity=0;
  
*************** struct vpsinfo {
*** 214,220 ****
    int namep;
    unsigned char *info;
    
!   getname(char *name) {
      memcpy(name,lastname,9);
    }
    vpsinfo() {
--- 215,221 ----
    int namep;
    unsigned char *info;
    
!   int getname(char *name) {
      memcpy(name,lastname,9);
    }
    vpsinfo() {
*************** VTchannel vtch;
*** 494,506 ****
  struct VDdeco {
    int Vflag;
  
!   write(unsigned char *data, int n) {
      int i;
      for (i=0; i<n; i++)
        decode(data[i]);
    }
  
!   decode(unsigned char dat) {
      if (!Vflag) {
        if (dat==0x56)
  	Vflag=1;
--- 495,507 ----
  struct VDdeco {
    int Vflag;
  
!   int write(unsigned char *data, int n) {
      int i;
      for (i=0; i<n; i++)
        decode(data[i]);
    }
  
!   int decode(unsigned char dat) {
      if (!Vflag) {
        if (dat==0x56)
  	Vflag=1;