X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FMPEGDVBBundle%2FGREPacket.hh;h=446ef03d07b6d331ec3f00ad300a2a219eb1ede3;hb=165ec46dc3d091c354ef8dbda67dcf7b1a97fc7d;hp=2bdf24fe404c4d018523e54aec36775dd0918162;hpb=a1001797645cc68c869ef296f5e9ba13aa8e80c4;p=senf.git diff --git a/Packets/MPEGDVBBundle/GREPacket.hh b/Packets/MPEGDVBBundle/GREPacket.hh index 2bdf24f..446ef03 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 @@ -95,7 +95,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()) {