Changeset 3182 for trunk/reader-videoguard2.c
- Timestamp:
- 09/23/10 09:59:11 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/reader-videoguard2.c
r3181 r3182 1 //FIXME Not checked on threadsafety yet; after checking please remove this line2 1 #include "globals.h" 3 2 #include "reader-common.h" … … 22 21 } 23 22 24 static unsigned char ins76007f[5] = { 0xD0,0x76,0x00,0x7f,0x02 };23 static const unsigned char ins76007f[5] = { 0xD0,0x76,0x00,0x7f,0x02 }; 25 24 if(!write_cmd_vg(ins76007f,NULL) || !status_ok(cta_res+2)){ 26 25 cs_log ("[videoguard2-reader] classD0 ins76007f: failed"); … … 30 29 31 30 int i; 32 staticunsigned char ins76[5] = { 0xD0,0x76,0x00,0x00,0x00 };31 unsigned char ins76[5] = { 0xD0,0x76,0x00,0x00,0x00 }; 33 32 #ifdef CS_RDR_INIT_HIST 34 33 reader->init_history_pos = 0; //reset for re-read … … 309 308 { 310 309 unsigned char cta_res[CTA_RES_LEN]; 311 staticunsigned char ins40[5] = { 0xD1,0x40,0x00,0x80,0xFF };310 unsigned char ins40[5] = { 0xD1,0x40,0x00,0x80,0xFF }; 312 311 static const unsigned char ins54[5] = { 0xD3,0x54,0x00,0x00,0x00}; 313 312 int posECMpart2=er->ecm[6]+7;
Note:
See TracChangeset
for help on using the changeset viewer.