Baptiste Coudurier <[email protected]> added the comment:

On 11/29/10 10:23 AM, Joakim Plate wrote:
> 
> Joakim Plate <[email protected]> added the comment:
> 
> You don't think something along the lines of the "patch" would be 
> appropriate too?
> 
> At the start of mpegts_push_data it can emit a packet if there is data 
> left over on is_start. If the given buffer then contains a full pes 
> header + packet, it will hit the same type of memleak if i'm reading the 
> code right.

It's not data left over, it's data from the previous packet (in the case
of video packets without a pes packet size)

If the current packet has data and is overwritten, there is bug
somewhere else.

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2392>
________________________________________________

Reply via email to