GNOME Bugzilla – Bug 594489
broken compilation for mpegdemux
Last modified: 2009-09-08 13:21:45 UTC
gstmpegtsdemux.c: In function 'gst_mpegts_demux_fill_stream': gstmpegtsdemux.c:209: sorry, unimplemented: inlining failed in call to 'gst_mpegts_demux_get_stream_for_PID': function body not available gstmpegtsdemux.c:662: sorry, unimplemented: called from here make[3]: *** [libgstmpegdemux_la-gstmpegtsdemux.lo] Error 1 make[3]: Leaving directory `gst-plugins-bad/gst/mpegdemux' gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)
commit 15796d66bbf80405c3829d19129c02aaf32e23b5 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Tue Sep 8 15:16:44 2009 +0200 mpegtsdemux: Fix usage of __always_inline__ attribute This attribute can't be used for function declarations because it needs the function body. Instead of a forward declaration of functions, move the function itself above it's first use. Fixes bug #594489 and compilation with gcc 4.3 and earlier.