}
#endif
+#ifdef CONFIG_DEMUXERS
/* raw input */
static int raw_read_header(AVFormatContext *s, AVFormatParameters *ap)
{
pkt->size = ret;
return ret;
}
+#endif
+#ifdef CONFIG_RAWVIDEO_DEMUXER
static int rawvideo_read_packet(AVFormatContext *s, AVPacket *pkt)
{
int packet_size, ret, width, height;
return 0;
}
}
+#endif
+#ifdef CONFIG_INGENIENT_DEMUXER
// http://www.artificis.hu/files/texts/ingenient.txt
static int ingenient_read_packet(AVFormatContext *s, AVPacket *pkt)
{
pkt->size = ret;
return ret;
}
+#endif
+#ifdef CONFIG_DEMUXERS
int pcm_read_seek(AVFormatContext *s,
int stream_index, int64_t timestamp, int flags)
{
return 0;
}
+#endif
+#ifdef CONFIG_MPEGVIDEO_DEMUXER
#define SEQ_START_CODE 0x000001b3
#define GOP_START_CODE 0x000001b8
#define PICTURE_START_CODE 0x00000100
return AVPROBE_SCORE_MAX/2+1; // +1 for .mpg
return 0;
}
+#endif
+#ifdef CONFIG_M4V_DEMUXER
#define VISUAL_OBJECT_START_CODE 0x000001b5
#define VOP_START_CODE 0x000001b6
return AVPROBE_SCORE_MAX/2;
return 0;
}
+#endif
+#ifdef CONFIG_H264_DEMUXER
static int h264_probe(AVProbeData *p)
{
uint32_t code= -1;
return AVPROBE_SCORE_MAX/2+1; // +1 for .mpg
return 0;
}
+#endif
+#ifdef CONFIG_H263_DEMUXER
static int h263_probe(AVProbeData *p)
{
int code;
}
return 0;
}
+#endif
+#ifdef CONFIG_H261_DEMUXER
static int h261_probe(AVProbeData *p)
{
int code;
}
return 0;
}
+#endif
+#ifdef CONFIG_DTS_DEMUXER
#define DCA_MARKER_14B_BE 0x1FFFE800
#define DCA_MARKER_14B_LE 0xFF1F00E8
#define DCA_MARKER_RAW_BE 0x7FFE8001
return 0;
}
+#endif
+#ifdef CONFIG_DIRAC_DEMUXER
static int dirac_probe(AVProbeData *p)
{
if (AV_RL32(p->buf) == MKTAG('B', 'B', 'C', 'D'))
else
return 0;
}
+#endif
+#ifdef CONFIG_AC3_DEMUXER
static int ac3_probe(AVProbeData *p)
{
int max_frames, first_frames = 0, frames;
else if(max_frames>=1) return 1;
else return 0;
}
+#endif
+#ifdef CONFIG_FLAC_DEMUXER
static int flac_probe(AVProbeData *p)
{
if(memcmp(p->buf, "fLaC", 4)) return 0;
else return AVPROBE_SCORE_MAX / 2;
}
+#endif
/* Note: Do not forget to add new entries to the Makefile as well. */