[FFmpeg-devel] [PATCH] RTSP-MS 13/15: add RTSP demuxer AVFormatContext to parse_packet() function pointer (was: transport context)

Luca Barbato lu_zero
Wed Feb 4 10:22:30 CET 2009


Ronald S. Bultje wrote:
> Hello,
> 
> On Sat, Jan 31, 2009 at 8:00 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
>> On Sat, Jan 31, 2009 at 07:35:28PM -0500, Ronald S. Bultje wrote:
>>> store the ASF demuxer context in the RTSP demuxer "private" context
>>> (RTSPState)->asf_ctx, so that it's shared between all streams in the
>>> session. That value needs to be accessible from the streams.
> [..]
>> why do they not have access to it? I mean why is RTSPState / AVFormatContext
>> not passed to the respective functions?
>>
>> It seems that either
> [..]
>> B. RTSPState / AVFormatContext should be passed directly
> 
> Attached patch does this.

Looks fine

lu

-- 

Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero





More information about the ffmpeg-devel mailing list