[FFmpeg-devel] [PATCH] allow to call rm_read_audio_stream_info() with NULL AVFormatcontext

Ronald S. Bultje rsbultje
Mon Nov 5 18:54:38 CET 2007


Hi Michael,

On 11/5/07, Michael Niedermayer <michaelni at gmx.at> wrote:
>
> thats all fine, but this mess will not enter svn, see the mms patches
> which
> are floating around, they dont use such hacks, implement RTSP as a
> URLProtocol or if you prefer keep it as a demuxer but the rm demuxer must
> be
> a full complete instance no NULL contexts or missing or non working
> ByteIOContext


OK. I'll quote the FAQ here that rtsp is a demuxer worthy thingy here (and
that's mostly true), so I suppose that means that the proper solution is to
create a "fake" (i.e. a secondary, embedded in RDTContext) AVFormatContext,
fill in the priv_data/iocontext and provide that to the rm_*() functions? (I
just want to confirm I'm doing the right thing before I do it. :-).)

Ronald




More information about the ffmpeg-devel mailing list