comparison libmpdemux/demux_ts.c @ 33338:4cf10c6071fd

Remove unused variable.
author reimar
date Sat, 07 May 2011 20:30:14 +0000
parents 02da483d5625
children 20285793cdef
comparison
equal deleted inserted replaced
33337:10dc7672fa79 33338:4cf10c6071fd
657 } 657 }
658 658
659 659
660 static off_t ts_detect_streams(demuxer_t *demuxer, tsdemux_init_t *param) 660 static off_t ts_detect_streams(demuxer_t *demuxer, tsdemux_init_t *param)
661 { 661 {
662 int video_found = 0, audio_found = 0, sub_found = 0, i, num_packets = 0, req_apid, req_vpid, req_spid; 662 int video_found = 0, audio_found = 0, i, num_packets = 0, req_apid, req_vpid, req_spid;
663 int is_audio, is_video, is_sub, has_tables; 663 int is_audio, is_video, is_sub, has_tables;
664 int32_t p, chosen_pid = 0; 664 int32_t p, chosen_pid = 0;
665 off_t pos=0, ret = 0, init_pos, end_pos; 665 off_t pos=0, ret = 0, init_pos, end_pos;
666 ES_stream_t es; 666 ES_stream_t es;
667 unsigned char tmp[TS_FEC_PACKET_SIZE]; 667 unsigned char tmp[TS_FEC_PACKET_SIZE];
824 { 824 {
825 if((req_spid == -1) || (req_spid == es.pid)) 825 if((req_spid == -1) || (req_spid == es.pid))
826 { 826 {
827 param->stype = es.type; 827 param->stype = es.type;
828 param->spid = es.pid; 828 param->spid = es.pid;
829 sub_found = 1;
830 } 829 }
831 } 830 }
832 831
833 if(is_audio) 832 if(is_audio)
834 { 833 {