[Live-devel] JPEGVideoRTPSink and Restart markers

Cristiano Belloni belloni at imavis.com
Wed Nov 10 08:03:40 PST 2010


Il 10/11/2010 16:32, Ross Finlayson ha scritto:
>> I seem to experience the very same double-free corruption problem I 
>> already reported with the latest version of your code 
>> (live.2010.11.04), streaming mjpeg on rtp.
>>
>> For convenience, I report the problem again here:
>>
>> The double-alloc issue seems to be triggered when I add a 4-byte 
>> special header for the RestartMarkerHeader in JPEGRSTVideoRTPSink class.
>
> Why are you still doing this yourself??  *We* are now adding the 
> 4-byte special header ourselves, in "JPEGVideoRTPSink".  There is no 
> longer any need for you to subclass this code.  That was the whole 
> point of the changes that we made in 2010.10.28.

Dear Ross,

My bad, the problem is present, but the report I copied was obsolete.

The problem now is that, even if I *don't* subclass JPEGVideoRTPSink 
anymore (I even wiped the files of the subclasses from the HD), and use 
instead liveMedia's JPEGVideoRTPSink class, the double-free corruption 
problem is still here, as it was before commenting out the efficiency 
hack. This means that, at least for me, even your post-2010.10.28 code 
has problems with the efficiency hack (or so it seems).

Regards,
Cristiano.

-- 
Belloni Cristiano
Imavis Srl.
www.imavis.com <http://www.imavis.com>
belloni at imavis.com <mailto://belloni@imavis.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20101110/f018c836/attachment-0001.html>


More information about the live-devel mailing list