changeset 33338:4cf10c6071fd

Remove unused variable.
author reimar
date Sat, 07 May 2011 20:30:14 +0000
parents 10dc7672fa79
children f3c1141dfea7
files libmpdemux/demux_ts.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c	Sat May 07 20:27:15 2011 +0000
+++ b/libmpdemux/demux_ts.c	Sat May 07 20:30:14 2011 +0000
@@ -659,7 +659,7 @@
 
 static off_t ts_detect_streams(demuxer_t *demuxer, tsdemux_init_t *param)
 {
-	int video_found = 0, audio_found = 0, sub_found = 0, i, num_packets = 0, req_apid, req_vpid, req_spid;
+	int video_found = 0, audio_found = 0, i, num_packets = 0, req_apid, req_vpid, req_spid;
 	int is_audio, is_video, is_sub, has_tables;
 	int32_t p, chosen_pid = 0;
 	off_t pos=0, ret = 0, init_pos, end_pos;
@@ -826,7 +826,6 @@
 				{
 					param->stype = es.type;
 					param->spid = es.pid;
-					sub_found = 1;
 				}
 			}