From 287cd613a1d5d08fb56e107460473132d23e3ca0 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 3 Dec 2006 18:00:00 +0100 Subject: =?UTF-8?q?Version=201.4.4-1=20-=20Some=20improvements=20to=20the?= =?UTF-8?q?=20man=20pages=20(thanks=20to=20Ville=20Skytt=C3=A4).=20-=20Fix?= =?UTF-8?q?ed=20a=20possible=20segfault=20in=20cSkins::Message()=20(thanks?= =?UTF-8?q?=20to=20Udo=20Richter).=20-=20Made=20the=20getskyepg.pl=20scrip?= =?UTF-8?q?t=20of=20the=20'sky'=20plugin=20send=20a=20user=20agent=20messa?= =?UTF-8?q?ge=20to=20=20=20the=20server,=20according=20to=20the=20rules=20?= =?UTF-8?q?at=20http://bleb.org/tv/data/listings.=20=20=20If=20your=20vers?= =?UTF-8?q?ion=20of=20'wget'=20doesn't=20support=20the=20-U=20option=20to?= =?UTF-8?q?=20set=20the=20user=20agent,=20=20=20use=20the=20new=20option?= =?UTF-8?q?=20-U=20of=20getskyepg.pl=20to=20have=20the=20information=20add?= =?UTF-8?q?ed=20to=20the=20URL=20=20=20as=20a=20query=20string.=20-=20The?= =?UTF-8?q?=20getskyepg.pl=20script=20now=20replaces=20"&"=20with=20"&?= =?UTF-8?q?".=20-=20Fixed=20a=20possible=20crash=20in=20remux.c=20on=2064-?= =?UTF-8?q?bit=20machines=20(thanks=20to=20Reinhard=20Nissl).=20-=20Fixed?= =?UTF-8?q?=20a=20typo=20in=20the=20change=20to=20the=20"Use=20small=20fon?= =?UTF-8?q?t"=20setup=20option=20in=20version=201.3.47=20=20=20in=20the=20?= =?UTF-8?q?HISTORY=20and=20CONTRIBUTORS=20file=20(reported=20by=20Andreas?= =?UTF-8?q?=20Brugger).=20-=20Added=20a=20missing=20'const'=20to=20cRecord?= =?UTF-8?q?ingInfo::ChannelID()=20(reported=20by=20Andreas=20=20=20Brugger?= =?UTF-8?q?).=20This=20required=20the=20APIVERSION=20to=20be=20increased,?= =?UTF-8?q?=20so=20plugins=20will=20have=20to=20=20=20be=20recompiled.=20-?= =?UTF-8?q?=20Now=20calling=20cPluginManager::Active()=20only=20if=20VDR?= =?UTF-8?q?=20is=20really=20trying=20to=20shut=20down,=20=20=20and=20waiti?= =?UTF-8?q?ng=20for=205=20minutes=20before=20calling=20it=20again=20(thank?= =?UTF-8?q?s=20to=20J=C3=B6rg=20Wendel=20for=20=20=20reporting=20that=20cP?= =?UTF-8?q?lugin::Active()=20was=20called=20too=20often,=20and=20to=20Udo?= =?UTF-8?q?=20Richter=20for=20=20=20some=20hints=20on=20how=20to=20improve?= =?UTF-8?q?=20this).=20-=20Replaced=20'unsigned=20long'=20with=20'uint32?= =?UTF-8?q?=5Ft'=20and=20'uint64'=20with=20'uint64=5Ft'=20to=20=20=20avoid?= =?UTF-8?q?=20problems=20on=2064-bit=20machines.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- remux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'remux.c') diff --git a/remux.c b/remux.c index 2d1b741..da805b7 100644 --- a/remux.c +++ b/remux.c @@ -11,7 +11,7 @@ * The cRepacker family's code was originally written by Reinhard Nissl , * and adapted to the VDR coding style by Klaus.Schmidinger@cadsoft.de. * - * $Id: remux.c 1.56 2006/04/17 12:48:12 kls Exp $ + * $Id: remux.c 1.57 2006/12/01 14:46:25 kls Exp $ */ #include "remux.h" @@ -389,7 +389,7 @@ bool cVideoRepacker::ScanDataForStartCodeFast(const uchar *&Data, const uchar *L } Data = Limit; - unsigned long *Scanner = (unsigned long *)(Data - 3); + uint32_t *Scanner = (uint32_t *)(Data - 3); scanner = ntohl(*Scanner); return false; } @@ -615,7 +615,7 @@ bool cVideoRepacker::ScanForEndOfPictureFast(const uchar *&Data, const uchar *Li } Data = Limit + 1; - unsigned long *LocalScanner = (unsigned long *)(Data - 4); + uint32_t *LocalScanner = (uint32_t *)(Data - 4); localScanner = ntohl(*LocalScanner); return false; } -- cgit v1.2.3