X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Packets%2FMPEGDVBBundle%2FGREPacket.hh;h=446ef03d07b6d331ec3f00ad300a2a219eb1ede3;hb=3449642e5fd7b1c83c866b98f2462c2323edddf0;hp=87c3e2af46939930f9ea1e1979536a636d91bbf7;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/Packets/MPEGDVBBundle/GREPacket.hh b/Packets/MPEGDVBBundle/GREPacket.hh index 87c3e2a..446ef03 100644 --- a/Packets/MPEGDVBBundle/GREPacket.hh +++ b/Packets/MPEGDVBBundle/GREPacket.hh @@ -1,8 +1,8 @@ // $Id$ // // Copyright (C) 2007 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// 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 @@ -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()) {