[gst-devel] Re: [gst-cvs] thomasvs gst-ffmpeg: gst-ffmpeg/ext/ffmpeg/

Ronald S. Bultje rbultje at ronald.bitfreak.net
Fri Sep 30 12:34:08 CEST 2005


On Fri, 2005-09-30 at 02:29 -0700, Thomas Vander Stichele wrote:
> Log message:
> replace do { } while (0); with { }

That causes issues with some old stupid compilers, IIRC. Stylishly, I
don't like it at all.

Either use proper kernel-style do { } while (0); (because this is a
recognized coding statement for anyone familiar with C), or use
glib'berish G_STMT_START/END.

Thanks,
Ronald





More information about the gstreamer-devel mailing list