[FFmpeg-devel] RTSP marker-bit packet merging

Ronald S. Bultje rsbultje
Thu Jan 29 17:03:06 CET 2009


On Wed, Jan 28, 2009 at 9:13 PM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> On Mon, Jan 26, 2009 at 5:59 AM, Luca Barbato <lu_zero at gentoo.org> wrote:
>> Ronald S. Bultje wrote:
>>> I've seen in several (QDM2, SV3V, X-QT and UDP RTSP/ASF) cases that
>>> there is a reuse of packet merging code where packet data (minus some
>>> small header) is merged and finished when the marker bit is set. Is it
>>> OK if I add some generic code to rtpdec.c to handle this? It would
>>> look like this:
>> I think the new datatype is unnecessary beside that the function is
>> useful ^^;
> I think I agree on second thought. Attached patch OK to apply? I
> modified my local tree to use it and it saves 10-20 LOC in 3
> depayloaders (none of them completely integrated in SVN yet, but
> ohwell).

Ping? Or would you prefer if I'd apply this with the next patch that
first uses it?


More information about the ffmpeg-devel mailing list