[Live-devel] Compilation error for old gcc

GENESTIER Denis denis.genestier at thalesgroup.com
Thu Oct 10 01:49:17 PDT 2019


Hi Ross,

With GCC version 4.4.6 (present on old centOS distro), the last liblivemedia library does not compile anymore with the linux-with-shared-libraries configuration.
It is due to the new file MPEG2TransportStreamParser.hh where a word "class" is missing at line 107.

Here is the patch.

@@ -104,7 +104,7 @@

private:
   // Parsing functions:
-  friend class MPEG2TransportStreamDemuxedTrack;
+  friend MPEG2TransportStreamDemuxedTrack;
   Boolean parse(); // returns True iff we have finished parsing all BOS pages (on initialization)

   u_int8_t parseAdaptationField();


Best regards

Denis.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20191010/a750367c/attachment.htm>


More information about the live-devel mailing list