GNOME Bugzilla – Bug 463215
[audioconvert] compile errors
Last modified: 2007-08-03 19:48:31 UTC
Apparently, audioquantize was already designed with C89 in mind. However, one small issue still slipped through the net: #define A() int i; #define B() int j; when used like this: { A(); B(); ... } leads to { int i;; int j; ... } Unfortunately ; already comprises an instruction which may not be followed by further variable declarations. Patch attached.
Created attachment 93049 [details] [review] C89 fixes
Thanks, committed. 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org> Patch by: Jens Granseuer <jensgr at gmx dot net> * gst/audioconvert/gstaudioquantize.c: Fix C89 incompatibilities and spelling of explanations. Fixes #463215.