Revision 96445426 libavformat/raw.c

View differences:

libavformat/raw.c
27 27
#include "avformat.h"
28 28
#include "raw.h"
29 29

  
30
#ifdef CONFIG_MUXERS
31 30
/* simple formats */
31
#ifdef CONFIG_FLAC_MUXER
32 32
static int flac_write_header(struct AVFormatContext *s)
33 33
{
34 34
    static const uint8_t header[8] = {
......
42 42
    }
43 43
    return 0;
44 44
}
45
#endif
45 46

  
46

  
47
#ifdef CONFIG_ROQ_MUXER
47 48
static int roq_write_header(struct AVFormatContext *s)
48 49
{
49 50
    static const uint8_t header[] = {
......
55 56

  
56 57
    return 0;
57 58
}
59
#endif
58 60

  
61
#ifdef CONFIG_NULL_MUXER
59 62
static int null_write_packet(struct AVFormatContext *s, AVPacket *pkt)
60 63
{
61 64
    return 0;
62 65
}
66
#endif
63 67

  
68
#ifdef CONFIG_MUXERS
64 69
static int raw_write_packet(struct AVFormatContext *s, AVPacket *pkt)
65 70
{
66 71
    put_buffer(s->pb, pkt->data, pkt->size);

Also available in: Unified diff