X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Examples%2FDVBAdapter%2FMPEdec.cc;h=22fd948f366e103885b673f88e6dfdfd46cce842;hb=0fb5ed1adf2f67dbf47fdfed3f3c8be989cf3618;hp=9abf13cff4d0b10be63e864a18d960cb24fb5ee9;hpb=e67faa588ac375105c0a6d12c79ef93d5499bcab;p=senf.git diff --git a/Examples/DVBAdapter/MPEdec.cc b/Examples/DVBAdapter/MPEdec.cc index 9abf13c..22fd948 100644 --- a/Examples/DVBAdapter/MPEdec.cc +++ b/Examples/DVBAdapter/MPEdec.cc @@ -1,9 +1,9 @@ // $Id$ // // Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Thorsten Horstmann +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Thorsten Horstmann // // 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 @@ -27,11 +27,11 @@ #include #include #include -#include +#include #include #include -#include +#include #include #include #include @@ -48,7 +48,7 @@ class MySniffer public: MySniffer(unsigned short adapter=0, unsigned short device=0) - : handle( adapter, device ) + : handle( adapter, device ) { struct dmx_sct_filter_params sec_filter; memset(&sec_filter, 0, sizeof (struct dmx_sct_filter_params)); @@ -68,7 +68,7 @@ private: void dumpSection(senf::Scheduler::EventId event) { std::string data (handle.read()); - senf::DatagramSection section (senf::DatagramSection::create(data)); + senf::MPESection section (senf::MPESection::create(data)); section.dump(std::cout); senf::PacketData & datagramData (section.next().data()); senf::hexdump(datagramData.begin(), datagramData.end(), std::cout);