[FFmpeg-devel] [PATCH] RTSP-MS 14/15: ASF packet parsing

Michael Niedermayer michaelni
Sat Apr 18 19:57:25 CEST 2009


On Sat, Apr 18, 2009 at 10:27:21AM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> On Sat, Apr 18, 2009 at 12:03 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Fri, Apr 17, 2009 at 10:17:20PM -0400, Ronald S. Bultje wrote:
> >> I'll go add some padding to packets so it works, or maybe just change
> >> min_pktsize in the header to 0... Who knows.
> >
> > thank you (in case this solves the problem)
> 
> I can confirm that setting min_pktsize to zero fixes the issue. I can
> do two things now:
> - add code to rtp_asf.c to parse the ASF header until a file_header is
> found and update the buffer
> - parse the buffer, and afterwards examine (in rtp_asf.c again)
> ASFDemuxContext->min_pktsize and set it to zero if it is the same as
> max_pktsize
> 
> I assume you prefer (1) because (2) makes assumptions on demuxer state
> during/after header parsing? 

> Attached patch does that.

no

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

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- 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/20090418/11709923/attachment.pgp>



More information about the ffmpeg-devel mailing list