Mercurial > libavformat.hg
diff rm.h @ 4135:fd0fc1e26d82 libavformat
Add audio_pkt_cnt return value to ff_rm_retrieve_cache(). See discussion in
"[PATCH] oops I broke rdt.c" mailinglist thread.
| author | rbultje |
|---|---|
| date | Sun, 28 Dec 2008 05:58:23 +0000 |
| parents | 90a12fced519 |
| children | e29f278b7831 |
line wrap: on
line diff
--- a/rm.h Sun Dec 28 05:55:09 2008 +0000 +++ b/rm.h Sun Dec 28 05:58:23 2008 +0000 @@ -83,8 +83,10 @@ * @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 */
