X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FMPEGDVBBundle%2FGREPacket.hh;h=32b8c1118ca0e60397c8aba295c9b28efec30d1f;hb=c45c112ae88196ea8da9c5a9efb0e167196744d2;hp=2bdf24fe404c4d018523e54aec36775dd0918162;hpb=a1001797645cc68c869ef296f5e9ba13aa8e80c4;p=senf.git diff --git a/Packets/MPEGDVBBundle/GREPacket.hh b/Packets/MPEGDVBBundle/GREPacket.hh index 2bdf24f..32b8c11 100644 --- a/Packets/MPEGDVBBundle/GREPacket.hh +++ b/Packets/MPEGDVBBundle/GREPacket.hh @@ -1,9 +1,9 @@ // $Id$ // // Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Joachim Kaeber +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Joachim Kaeber // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -46,7 +46,7 @@ namespace senf { # include SENF_PARSER() SENF_PARSER_FIELD ( checksum1_, UInt16Parser ); SENF_PARSER_PRIVATE_FIELD ( reserved1_, UInt16Parser ); - SENF_PARSER_FINALIZE(GREChecksumParser); + SENF_PARSER_FINALIZE(GREChecksumParser); }; struct GREPacketParser : public PacketParserBase @@ -74,6 +74,7 @@ namespace senf { \par Fields: \ref GREPacketParser + \image html GREPacket.png \ingroup protocolbundle_mpegdvb */ @@ -95,7 +96,7 @@ namespace senf { return p->protocol_type(); } static void finalize(packet p) { - p->protocol_type() << key(p.next()); + p->protocol_type() << key(p.next(nothrow)); p->version_number() = 0; // as per RFC2784, 2.3.1 if (p->checksum_present()) {