Revision 764ef400 libavformat/au.c

View differences:

libavformat/au.c
39 39
    { 0, 0 },
40 40
};
41 41

  
42
#ifdef CONFIG_ENCODERS
42 43
/* AUDIO_FILE header */
43 44
static int put_au_header(ByteIOContext *pb, AVCodecContext *enc)
44 45
{
......
97 98

  
98 99
    return 0;
99 100
}
101
#endif //CONFIG_ENCODERS
100 102

  
101 103
static int au_probe(AVProbeData *p)
102 104
{
......
187 189
    au_read_close,
188 190
};
189 191

  
192
#ifdef CONFIG_ENCODERS
190 193
static AVOutputFormat au_oformat = {
191 194
    "au",
192 195
    "SUN AU Format",
......
199 202
    au_write_packet,
200 203
    au_write_trailer,
201 204
};
205
#endif //CONFIG_ENCODERS
202 206

  
203 207
int au_init(void)
204 208
{
205 209
    av_register_input_format(&au_iformat);
210
#ifdef CONFIG_ENCODERS
206 211
    av_register_output_format(&au_oformat);
212
#endif //CONFIG_ENCODERS
207 213
    return 0;
208 214
}

Also available in: Unified diff