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

Ronald S. Bultje rsbultje
Mon Sep 1 16:16:06 CEST 2008


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

With this API change, I can use this function easily for both-style
chunks in Realmedia-style RTSP.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: x
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080901/562c43b4/attachment.asc>

More information about the ffmpeg-devel mailing list