From 5f5dfd7f69963abcdcceed88e649c83e6ea5709e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 17 Aug 2003 18:00:00 +0200 Subject: =?UTF-8?q?Version=201.2.3=20(not=20officially=20released)=20-=20F?= =?UTF-8?q?ixed=20the=20TS=20to=20PES=20repacker=20so=20that=20it=20works?= =?UTF-8?q?=20with=20MPEG1=20streams=20(thanks=20to=20=20=20Andreas=20Kool?= =?UTF-8?q?).=20-=20Fixed=20keeping=20track=20of=20the=20current=20channel?= =?UTF-8?q?=20number=20when=20moving=20channels=20in=20=20=20the=20"Channe?= =?UTF-8?q?ls"=20menu=20(thanks=20to=20Mirko=20G=C3=BCnther=20for=20report?= =?UTF-8?q?ing=20this=20one).=20-=20Made=20the=20plugin=20library=20direct?= =?UTF-8?q?ory=20configurable=20via=20Make.config=20(thanks=20to=20=20=20L?= =?UTF-8?q?udwig=20Nussel).=20-=20Fixed=20scaling=20SPU=20bitmaps=20in=20L?= =?UTF-8?q?etterbox=20mode=20when=20playing=20NTSC=20material.=20=20=20In?= =?UTF-8?q?=20order=20to=20do=20this,=20the=20cDevice=20was=20given=20a=20?= =?UTF-8?q?new=20member=20function=20GetVideoSystem().=20-=20Fixed=20two?= =?UTF-8?q?=20warnings=20when=20compiling=20with=20gcc=203.3.1=20(thanks?= =?UTF-8?q?=20to=20Alfred=20Zastrow=20for=20=20=20reporting=20this).=20-?= =?UTF-8?q?=20Made=20crc32()=20a=20static=20function=20in=20libdtv/libsi/s?= =?UTF-8?q?i=5Fparser.c=20to=20avoid=20a=20name=20clash=20=20=20when=20usi?= =?UTF-8?q?ng=20other=20libraries=20that=20also=20implement=20a=20function?= =?UTF-8?q?=20by=20that=20name=20(thanks=20=20=20to=20Reinhard=20Nissl=20f?= =?UTF-8?q?or=20reporting=20this=20one).=20-=20Fixed=20staying=20off=20the?= =?UTF-8?q?=20end=20of=20an=20ongoing=20recording=20while=20replaying=20in?= =?UTF-8?q?=20time=20shift=20=20=20mode=20(thanks=20to=20Rainer=20Zocholl?= =?UTF-8?q?=20for=20reporting=20this=20one).=20-=20VDR=20now=20stops=20wit?= =?UTF-8?q?h=20exit=20status=202=20if=20one=20of=20the=20configuration=20f?= =?UTF-8?q?iles=20can't=20be=20=20=20read=20correctly=20at=20program=20sta?= =?UTF-8?q?rtup=20(suggested=20by=20Rainer=20Zocholl).=20-=20Fixed=20a=20c?= =?UTF-8?q?rash=20when=20starting=20"Pause=20live=20video"=20twice=20withi?= =?UTF-8?q?n=20the=20same=20minute=20on=20=20=20the=20same=20channel.=20-?= =?UTF-8?q?=20Fixed=20freezing=20replay=20if=20a=20timer=20starts=20while?= =?UTF-8?q?=20in=20Transfer=20Mode=20from=20the=20device=20=20=20used=20by?= =?UTF-8?q?=20the=20timer,=20and=20the=20timer=20needs=20a=20different=20t?= =?UTF-8?q?ransponder=20(thanks=20to=20=20=20Richard=20Robson=20for=20repo?= =?UTF-8?q?rting=20this=20one).=20-=20Fixed=20toggling=20channels=20with?= =?UTF-8?q?=20the=20'0'=20key=20(thanks=20to=20Mirko=20G=C3=BCnther=20for?= =?UTF-8?q?=20reporting=20=20=20this=20one).=20-=20Made=20the=20"Zap=20tim?= =?UTF-8?q?eout"=20(the=20time=20until=20a=20channel=20counts=20as=20"prev?= =?UTF-8?q?ious"=20for=20=20=20switching=20with=20'0')=20a=20setup=20varia?= =?UTF-8?q?ble,=20available=20in=20"Setup/Miscellaneous"=20=20=20(suggeste?= =?UTF-8?q?d=20by=20Helmut=20Auer).=20-=20Removing=20deleted=20recordings?= =?UTF-8?q?=20faster=20than=20normal=20when=20cutting,=20to=20avoid=20runn?= =?UTF-8?q?ing=20=20=20out=20of=20disk=20space=20(thanks=20to=20Manfred=20?= =?UTF-8?q?Schmidt-Voigt=20for=20reporting=20this=20one).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libdtv/libsi/include/libsi.h | 1 - libdtv/libsi/si_parser.c | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'libdtv') diff --git a/libdtv/libsi/include/libsi.h b/libdtv/libsi/include/libsi.h index b2f8ba2..ad7a164 100644 --- a/libdtv/libsi/include/libsi.h +++ b/libdtv/libsi/include/libsi.h @@ -1226,7 +1226,6 @@ void siParseDescriptors (struct LIST *, u_char *, int, u_char); void siParseDescriptor (struct LIST *, u_char *); char *siGetDescriptorText (u_char *, int); char *siGetDescriptorName (u_char *, int); -u_long crc32 (char *data, int len); /* si_debug_services.c */ diff --git a/libdtv/libsi/si_parser.c b/libdtv/libsi/si_parser.c index a922b7e..896c5ab 100644 --- a/libdtv/libsi/si_parser.c +++ b/libdtv/libsi/si_parser.c @@ -36,7 +36,7 @@ #include "libsi.h" #include "si_tables.h" - +static u_long crc32 (char *data, int len); struct LIST *siParsePAT (u_char *Buffer) { @@ -1240,7 +1240,7 @@ char *siGetDescriptorTextHandler (u_char *Buffer, int Length, int type) if (*Buffer == 0) break; if ((*Buffer >= ' ' && *Buffer <= '~') || (*Buffer == '\n') || - (*Buffer >= 0xa0 && *Buffer <= 0xff)) *tmp++ = *Buffer; + (*Buffer >= 0xa0)) *tmp++ = *Buffer; if (*Buffer == 0x8A) *tmp++ = '\n'; if ((*Buffer == 0x86 || *Buffer == 0x87) && !(GDT_NAME_DESCRIPTOR & type)) *tmp++ = ' '; Buffer++; @@ -1323,7 +1323,7 @@ static u_long crc_table[256] = { 0x933eb0bb, 0x97ffad0c, 0xafb010b1, 0xab710d06, 0xa6322bdf, 0xa2f33668, 0xbcb4666d, 0xb8757bda, 0xb5365d03, 0xb1f740b4}; -u_long crc32 (char *data, int len) +static u_long crc32 (char *data, int len) { register int i; u_long crc = 0xffffffff; -- cgit v1.2.3