Browse Source

Remove unneeded operations.

Georgi Chorbadzhiyski 9 years ago
parent
commit
f69e34f5e3
2 changed files with 0 additions and 2 deletions
  1. 0
    1
      cat.c
  2. 0
    1
      nit_desc.c

+ 0
- 1
cat.c View File

@@ -102,7 +102,6 @@ int ts_cat_parse(struct ts_cat *cat) {
102 102
 	if (!cat->program_info)
103 103
 		return 0;
104 104
 	memcpy(cat->program_info, stream_data, cat->program_info_size);
105
-	stream_data += cat->program_info_size;
106 105
 
107 106
 	if (!ts_crc32_section_check(cat->section_header, "CAT"))
108 107
 		return 0;

+ 0
- 1
nit_desc.c View File

@@ -197,7 +197,6 @@ int ts_nit_add_nordig_specifier_descriptor(struct ts_nit *nit, uint16_t ts_id, u
197 197
 	desc[dpos + 3] = 0x00;				// -2 Because of two byte header
198 198
 	desc[dpos + 4] = 0x00;				// -2 Because of two byte header
199 199
 	desc[dpos + 5] = 0x29;				// -2 Because of two byte header
200
-	dpos += 6;
201 200
 
202 201
 	return ts_nit_add_stream(nit, ts_id, org_net_id, desc, desc_size);
203 202
 }

Loading…
Cancel
Save