Add explanatory comments to the #endif part of multiple inclusion guards.
[mplayer/greg.git] / libmpdemux / demux_rtp.h
blob5eba3a680e6898d9ae8108a74022d02f9a54788c
1 #ifndef DEMUX_RTP_H
2 #define DEMUX_RTP_H
4 #include <stdlib.h>
5 #include <stdio.h>
7 #ifndef STREAM_H
8 #include "stream/stream.h"
9 #endif
10 #ifndef DEMUXER_H
11 #include "demuxer.h"
12 #endif
14 // Open a RTP demuxer (which was initiated either from a SDP file,
15 // or from a RTSP URL):
16 demuxer_t* demux_open_rtp(demuxer_t* demuxer);
18 // Test whether a RTP demuxer is for a MPEG stream:
19 int demux_is_mpeg_rtp_stream(demuxer_t* demuxer);
21 // Test whether a RTP demuxer contains combined (multiplexed)
22 // audio+video (and so needs to be demuxed by higher-level code):
23 int demux_is_multiplexed_rtp_stream(demuxer_t* demuxer);
25 // Read from a RTP demuxer:
26 int demux_rtp_fill_buffer(demuxer_t *demux, demux_stream_t* ds);
28 // Close a RTP demuxer
29 void demux_close_rtp(demuxer_t* demuxer);
31 #endif /* DEMUX_RTP_H */