From e833e53c58917ddfa27592474171a6a92aa84f96 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Thu, 15 Oct 2009 21:37:56 +0000 Subject: [PATCH] Compilation fixes --- demuxerts.cc | 14 +++++++------- player.cc | 6 +++--- player.h | 8 ++++---- vvideorec.cc | 6 +++--- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/demuxerts.cc b/demuxerts.cc index 252aa64..e2f8b57 100644 --- a/demuxerts.cc +++ b/demuxerts.cc @@ -191,7 +191,7 @@ int DemuxerTS::findPTS(UCHAR* buf, int len, ULLONG* dest) else { foundpid = foundpid & 0x1FFF; //clear upper 3 bits - int pos=0; + //int pos=0; UNUSED? if (streamtype==3 || streamtype ==4) { scanaid=foundpid; } @@ -199,7 +199,7 @@ int DemuxerTS::findPTS(UCHAR* buf, int len, ULLONG* dest) p += eslength; //skip es descriptor } } else if (pid == scanaid) { - UINT framelength = ((UINT)curbuf[4] << 8) | curbuf[5]; + // UINT framelength = ((UINT)curbuf[4] << 8) | curbuf[5]; UNUSED? if ( curbuf[7] & 0x80 ) // PTS_DTS_flags indicate that PTS is present { @@ -360,7 +360,7 @@ int DemuxerTS::processTS(UCHAR* buf) new_channelinfo.name=NULL; new_channelinfo.tpid=0xFFFFF; //unused, check this new_channelinfo.vpid=0xFFFFF; //unused, check this - new_channelinfo.index=NULL; + new_channelinfo.index=0; new_channelinfo.apids.clear(); new_channelinfo.dpids.clear(); @@ -446,14 +446,14 @@ int DemuxerTS::processTS(UCHAR* buf) } bool audioPIDpresent=false; //Check if pids chnages - int i; + ULONG i; for (i=0;irecInfo; unsigned char numchan_recinfo = cur_info->numComponents; unsigned char numchan_subtitles_siz = temp_channel.numSPids; - int mp_audcounter = 0; - int ac3_counter = 0; + ULONG mp_audcounter = 0; + ULONG ac3_counter = 0; int dvb_subcounter = 1; unsigned char type; @@ -675,7 +675,7 @@ void VVideoRec::doAudioSelector() int i; for (i = 0; i < numchan_recinfo; i++) { - apid *ac=NULL; + apid* ac = NULL; type = cur_info->types[i]; lang = cur_info->languages[i]; description = cur_info->descriptions[i]; -- 2.39.5