teletext: Fix non-static data member initializer
authorAthanasios Oikonomou <athoik@gmail.com>
Fri, 1 Aug 2014 11:48:22 +0000 (13:48 +0200)
committerErik Slagter <erik@openpli.org>
Fri, 1 Aug 2014 11:48:22 +0000 (13:48 +0200)
Signed-off-by: Erk Slager <erik@openpli.org>

lib/dvb/teletext.h

index 1462d84..ae1f5f5 100644 (file)
@@ -39,7 +39,7 @@ class eDVBTeletextParser: public iObject, public ePESParser, public Object
 public:
        eDVBTeletextParser(iDVBDemux *demux);
        virtual ~eDVBTeletextParser();
-       const int max_id = 26;
+       static const int max_id = 26;
        static const char * const my_country_codes[];
        int start(int pid);
        void setPageAndMagazine(int page, int magazine, const char * lang);