[FFmpeg-devel] [PATCH] allow to call rm_read_audio_stream_info() with NULL AVFormatcontext
Ronald S. Bultje
rsbultje
Thu Nov 1 02:33:30 CET 2007
Hi,
a while ago, I submitted patches to make RDT (RTSP/realmedia) work in
ffmpeg. Here's split-up small patches to make it work, most of it is just
rmdec re-arranging and such to call relevant code from a new rtp_rm.c file
such that I don't have to reimplement the rm-specific code in RTP.
this patch - rmdec-allownulls.patch - allows rm_read_audio_stream_info() to
be called with a NULL AVFormatContext, which is needed (before making it
non-static - later patch) to call it from the rtp_rm.c file. If s is NULL,
we don't want to store the strings in it, but just skip them. This makes a
lot of sense for RTP/realmedia anyway, since the metadata is already
transmitted in the SDP.
Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rmdec-allownulls.patch
Type: application/octet-stream
Size: 1753 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071031/08d8a9c9/attachment.obj>
More information about the ffmpeg-devel
mailing list