Ryan C. Gordon icculus at
Mon May 20 03:36:52 EDT 2002

If anyone is really bored, I'd like to start off SMPEG development in a
small way. Find all the printf() and fprintf(std[err/out]) calls and
change them into a macro:

 #define SMPEGDBG(x)  printf x

  printf("This was printed out");
  SMPEGDBG(("This was printed out"));

(Note the double parentheses.)

This way, we can still have that output in debug builds, but release
builds can #define SMPEGDBG away via the configure script.

Who's bored and wants to do this?


More information about the smpeg mailing list