* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef FFMPEG_RM_H
-#define FFMPEG_RM_H
+#ifndef AVFORMAT_RM_H
+#define AVFORMAT_RM_H
#include "avformat.h"
int sub_packet_lengths[16]; /// Length of each aac subpacket
} RMContext;
+/*< input format for Realmedia-style RTSP streams */
+extern AVInputFormat rdt_demuxer;
+
/**
* Read the MDPR chunk, which contains stream-specific codec initialization
* parameters.
* @param s context containing RMContext and ByteIOContext for stream reading
* @param st the stream that the MDPR chunk belongs to and where to store the
* parameters read from the chunk into
+ * @param codec_data_size size of the MDPR chunk
* @return 0 on success, errno codes on error
*/
-int ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVStream *st);
+int ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVStream *st, int codec_data_size);
/**
* Parse one rm-stream packet from the input bytestream.
*/
void ff_rm_retrieve_cache (AVFormatContext *s, AVStream *st, AVPacket *pkt);
-#endif /* FFMPEG_RM_H */
+#endif /* AVFORMAT_RM_H */