aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rm.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2008-12-13 21:37:27 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2008-12-13 21:37:27 +0000
commita15ebf34c77c7c93aef70caeeace538f47eaab8a (patch)
tree2ed9198c79fd39059ad3c627030aa3ea08fabb6f /libavformat/rm.h
parent616deed28f0626a98022837488b222aa158ce3b4 (diff)
downloadffmpeg-a15ebf34c77c7c93aef70caeeace538f47eaab8a.tar.gz
Don't access RMContext directly in rdt.c. Rather, use the return value of
ff_rm_parse_packet() to indicate whether more audio packets are available in the demuxer from the last RM frame, and save that in the RDT parsing context. See patch/discussion in "[PATCH] rdt.c: don't access RMContext" on ML. Originally committed as revision 16110 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rm.h')
-rw-r--r--libavformat/rm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/rm.h b/libavformat/rm.h
index 01c0d1681e..eff271fd2a 100644
--- a/libavformat/rm.h
+++ b/libavformat/rm.h
@@ -93,7 +93,9 @@ int ff_rm_read_mdpr_codecdata (AVFormatContext *s, ByteIOContext *pb,
* @param flags pointer to an integer containing the packet flags, may be
updated
* @param ts pointer to timestamp, may be updated
- * @return 0 on success, errno codes on error
+ * @return >=0 on success (where >0 indicates there are cached samples that
+ * can be retrieved with subsequent calls to ff_rm_retrieve_cache()),
+ * errno codes on error
*/
int ff_rm_parse_packet (AVFormatContext *s, ByteIOContext *pb,
AVStream *st, int len,