After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 167482 - [PATCH] [avidemux] Compile fix for gcc 2.95
[PATCH] [avidemux] Compile fix for gcc 2.95
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other FreeBSD
: Normal trivial
: 0.8.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-02-15 15:59 UTC by Gergely Nagy
Modified: 2005-02-17 19:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Trivial patch to fix the problem (719 bytes, patch)
2005-02-15 16:00 UTC, Gergely Nagy
none Details | Review

Description Gergely Nagy 2005-02-15 15:59:44 UTC
gcc 2.95 does not like variable declarations in the middle of a function body. 

gst/avi/gstavidemux.c::gst_avi_demux_invert() does just that:

static GstBuffer *
gst_avi_demux_invert (avi_stream_context * stream, GstBuffer * buf)
{
  buf = gst_buffer_copy_on_write (buf);
  gint y, h = stream->height, w = stream->width;
  guint8 *tmp = g_malloc (w)
...
Comment 1 Gergely Nagy 2005-02-15 16:00:23 UTC
Created attachment 37496 [details] [review]
Trivial patch to fix the problem
Comment 2 Tim-Philipp Müller 2005-02-17 19:22:00 UTC
Fixed, thanks.

Cheers
 -Tim