[FFmpeg-devel] [PATCH] rmdec.c - small read_mdpr_codecdata() API modification

Michael Niedermayer michaelni
Wed Sep 3 01:49:39 CEST 2008


On Mon, Sep 01, 2008 at 10:16:06AM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> as per $subj, I'd like to change the API of this function to include
> the size of the chunk that it reads.
> 
> I originally exported this function to read MDPR-like data from the
> OpaqueData SDP line in rtsp.c and styled the API to fit that need.
> However, I've now found that in some Realmedia-style RTSP streams, the
> size is included (".ra5"-style MLTI-chunks) in the chunk, but in
> others (the ".ra4"-style chunks, where only a single one is
> contained), it is not (I originally didn't notice the old-style
> files).
> 
> With this API change, I can use this function easily for both-style
> chunks in Realmedia-style RTSP.

looks ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080903/3fb953b8/attachment.pgp>



More information about the ffmpeg-devel mailing list