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

Ronald S. Bultje rsbultje
Fri Apr 17 22:52:55 CEST 2009

Hi Luca,

On Fri, Apr 17, 2009 at 3:44 PM, Luca Abeni <lucabe72 at email.it> wrote:
> I still do not think that this ff_rtp_merge_data_packet() is ok.
> Why not using (for example, maybe there are better solutions...) a
> ByteIOContext? I mean, when you receive the first packet of a frame you
> call url_open_dyn_buf(), then every time a packet arrives you call
> put_buffer() to append the payload to the ByteIOContext. And when the
> latest packet arrives (M = 1), you call url_close_dyn_buf() and you pass
> the resulting buffer to the ASF demuxer.

Hence the question, I'll look at this solution, makes sense...


More information about the ffmpeg-devel mailing list