diff rm.h @ 3873:9a589ae59655 libavformat

Use chunk-size in function calling mdpr_read_codecdata() rather than in the function itself. This way, old-style (.ra4) RTSP/RDT OpaqueData chunks can be parsed using this function as well (they don't have the size bits). See discussion on ML in "[PATCH] rmdec.c - small read_mdpr_codecdata() API modification".
author rbultje
date Wed, 03 Sep 2008 00:05:55 +0000
parents 1b6245500d8c
children 5f9bec099c69
line wrap: on
line diff
--- a/rm.h	Tue Sep 02 22:53:42 2008 +0000
+++ b/rm.h	Wed Sep 03 00:05:55 2008 +0000
@@ -70,9 +70,10 @@
  * @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.