From a9f84821c55b70e48195095d254c78fd5a886f75 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 28 Dec 2008 05:58:23 +0000 Subject: Add audio_pkt_cnt return value to ff_rm_retrieve_cache(). See discussion in "[PATCH] oops I broke rdt.c" mailinglist thread. Originally committed as revision 16368 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavformat/rm.h') diff --git a/libavformat/rm.h b/libavformat/rm.h index f9fdd76758..4e2a5b7604 100644 --- a/libavformat/rm.h +++ b/libavformat/rm.h @@ -83,8 +83,10 @@ int ff_rm_parse_packet (AVFormatContext *s, ByteIOContext *pb, * @param st stream that this packet belongs to * @param rst Real-specific stream information * @param pkt location to store the packet data + * @returns the number of samples left for subsequent calls to this same + * function, or 0 if all samples have been retrieved. */ -void ff_rm_retrieve_cache (AVFormatContext *s, ByteIOContext *pb, +int ff_rm_retrieve_cache (AVFormatContext *s, ByteIOContext *pb, AVStream *st, RMStream *rst, AVPacket *pkt); #endif /* AVFORMAT_RM_H */ -- cgit v1.2.3