mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 19:18:31 +00:00
Fix for #321430: unresolved symbols due to incorrect linkage on inline functions in goom.
Original commit message from CVS: Fix for #321430: unresolved symbols due to incorrect linkage on inline functions in goom. Does not, however, fix the general crackheadedness of goom (global variables, oh my!); this should be moved to -bad.
This commit is contained in:
parent
11c39abc9a
commit
a72e695a1e
3 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2005-11-22 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
|
* gst/goom/filters.c:
|
||||||
|
* gst/goom/graphic.h:
|
||||||
|
Fix compilation by making some functions static inline instead of
|
||||||
|
extern inline, matching the way they're used.
|
||||||
|
|
||||||
2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
|
2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_init),
|
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_init),
|
||||||
|
|
|
@ -182,7 +182,7 @@ calculatePXandPY (int x, int y, int *px, int *py)
|
||||||
|
|
||||||
/*#define _DEBUG */
|
/*#define _DEBUG */
|
||||||
|
|
||||||
extern inline void
|
static inline void
|
||||||
setPixelRGB (Uint * buffer, Uint x, Uint y, Color c)
|
setPixelRGB (Uint * buffer, Uint x, Uint y, Color c)
|
||||||
{
|
{
|
||||||
/* buffer[ y*WIDTH + x ] = (c.r<<16)|(c.v<<8)|c.b */
|
/* buffer[ y*WIDTH + x ] = (c.r<<16)|(c.v<<8)|c.b */
|
||||||
|
@ -220,7 +220,7 @@ setPixelRGB_ (Uint * buffer, Uint x, Color c)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
extern inline void
|
static inline void
|
||||||
getPixelRGB (Uint * buffer, Uint x, Uint y, Color * c)
|
getPixelRGB (Uint * buffer, Uint x, Uint y, Color * c)
|
||||||
{
|
{
|
||||||
register unsigned char *tmp8;
|
register unsigned char *tmp8;
|
||||||
|
|
|
@ -20,7 +20,4 @@ extern const Color YELLOW;
|
||||||
extern const Color ORANGE;
|
extern const Color ORANGE;
|
||||||
extern const Color VIOLET;
|
extern const Color VIOLET;
|
||||||
|
|
||||||
extern inline void setPixelRGB (Uint *buffer, Uint x, Uint y, Color c) ;
|
|
||||||
extern inline void getPixelRGB (Uint *buffer, Uint x, Uint y, Color *c) ;
|
|
||||||
|
|
||||||
#endif /*GRAPHIC_H*/
|
#endif /*GRAPHIC_H*/
|
||||||
|
|
Loading…
Reference in a new issue