[MPlayer-dev-eng] [PATCH] mplayer compilation with icc

Arpi arpi at thot.banki.hu
Fri Aug 23 01:20:34 CEST 2002


Hi,

> >  - functions inside of functions are invalid in icc.  replaced
> >      with #define's. (possibly wrong. FIXME.)
> where?

-  int error(void) {
-    vorbis_comment_clear(&vc);
-    vorbis_info_clear(&ov->vi);
-    free(ov);
-    return 0;
+#define error() { \
+    vorbis_comment_clear(&vc); \
+    vorbis_info_clear(&ov->vi); \
+    free(ov); \
+    return 0; \

it is not equivalent!
the later will exit from the _parent_ function with return 0;


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list