[FFmpeg-devel] [PATCH] wrong usage of av_free_packet in tee pseudo muxer (ticket #4921)

Bodecs Bela bodecsb at vivanet.hu
Sat Oct 10 17:00:27 CEST 2015

2015.10.10. 16:14 keltezéssel, Nicolas George írta:
> Le nonidi 19 vendémiaire, an CCXXIV, Bodecs Bela a écrit :
>> using tee pseudo muxer I faced an issue.
> <snip>
> Sorry for the duplicated work, I already submitted an identical patch:
> http://ffmpeg.org/pipermail/ffmpeg-devel/2015-October/180686.html
> Regards,
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
I slightly modified the patch, because the earlier solution could result 
memory leak in some cases.
If av_copy_packet were used earlier then we should use full freeing. 
This is tested in my new patch.

best regards,

Bela Bodecs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-wrong-usage-of-avfreepacket-in-tee-pseudo-muxer.patch
Type: text/x-patch
Size: 1711 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151010/d88099b7/attachment.bin>

More information about the ffmpeg-devel mailing list