[FFmpeg-devel] [PATCH] RTSP muxer: Write the interleaving header in the same buffer as the packet data

Martin Storsjö martin
Thu Jun 3 21:28:42 CEST 2010


This changes writing of TCP interleaved packets in the RTSP muxer, so that 
the interleaving header is written in the same buffer as the packet data. 
This happens to work since the interleaving header is 4 bytes, and the 
packet length header written by url_open_dyn_packet_buf also is 4 bytes.

With this in place, base64 encoding of the packets for the HTTP tunneling 
(as part of Josh's soc project) becomes much easier.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Write-the-interleaving-header-in-the-same-buffer-as-.patch
Type: text/x-diff
Size: 2097 bytes
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100603/f32384b7/attachment.patch>

More information about the ffmpeg-devel mailing list