comparison src/madplug/decoder.c @ 2514:bad05467e8e0

A numeric #define with an expression not enclosed in parentheses is dangerous.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 02 Apr 2008 23:05:53 +0300
parents b419d8924c0b
children f1b6f1b2cdb3
comparison
equal deleted inserted replaced
2513:a4629703edc3 2514:bad05467e8e0
26 26
27 #include <audacious/plugin.h> 27 #include <audacious/plugin.h>
28 #include "plugin.h" 28 #include "plugin.h"
29 #include "input.h" 29 #include "input.h"
30 30
31 #define BUFFER_SIZE 16*1024 31 #define BUFFER_SIZE (16*1024)
32 #define N_AVERAGE_FRAMES 10 32 #define N_AVERAGE_FRAMES 10
33 33
34 void 34 void
35 write_output(struct mad_info_t *info, struct mad_pcm *pcm, 35 write_output(struct mad_info_t *info, struct mad_pcm *pcm,
36 struct mad_header *header) 36 struct mad_header *header)