Revision 04f46ced libavformat/aviobuf.c

View differences:

libavformat/aviobuf.c
53 53
    return 0;
54 54
}
55 55

  
56

  
57
#ifdef CONFIG_MUXERS
58 56
static void flush_buffer(ByteIOContext *s)
59 57
{
60 58
    if (s->buf_ptr > s->buffer) {
......
104 102
    flush_buffer(s);
105 103
    s->must_flush = 0;
106 104
}
107
#endif //CONFIG_MUXERS
108 105

  
109 106
offset_t url_fseek(ByteIOContext *s, offset_t offset, int whence)
110 107
{
......
193 190
    return s->error;
194 191
}
195 192

  
196
#ifdef CONFIG_MUXERS
193
#if defined(CONFIG_MUXERS) || defined(CONFIG_PROTOCOLS)
197 194
void put_le32(ByteIOContext *s, unsigned int val)
198 195
{
199 196
    put_byte(s, val);
......
254 251
        put_byte(s, *tag++);
255 252
    }
256 253
}
257
#endif //CONFIG_MUXERS
254
#endif //CONFIG_MUXERS || CONFIG_PROTOCOLS
258 255

  
259 256
/* Input stream */
260 257

  

Also available in: Unified diff