Re: [FFmpeg-devel] [PATCH 01/13] avformat/mux: Move packet references

2020-01-26 Thread Michael Niedermayer
On Tue, Aug 13, 2019 at 04:47:14AM +0200, Andreas Rheinhardt wrote: > In the common case that the input packet was already refcounted, > ff_interleave_add_packet would allocate a new AVPacketList, use > av_packet_ref to create a new reference to the buffer for the > AVPacketList's packet,

Re: [FFmpeg-devel] [PATCH 01/13] avformat/mux: Move packet references

2020-01-26 Thread Andreas Rheinhardt
On Wed, Jan 15, 2020 at 10:41 PM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > On Tue, Oct 8, 2019 at 12:42 PM Andreas Rheinhardt < > andreas.rheinha...@gmail.com> wrote: > >> Andreas Rheinhardt: >> > Andreas Rheinhardt: >> >> In the common case that the input packet was already

Re: [FFmpeg-devel] [PATCH 01/13] avformat/mux: Move packet references

2020-01-15 Thread Andreas Rheinhardt
On Tue, Oct 8, 2019 at 12:42 PM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > Andreas Rheinhardt: > > Andreas Rheinhardt: > >> In the common case that the input packet was already refcounted, > >> ff_interleave_add_packet would allocate a new AVPacketList, use > >> av_packet_ref to

Re: [FFmpeg-devel] [PATCH 01/13] avformat/mux: Move packet references

2019-10-08 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Andreas Rheinhardt: >> In the common case that the input packet was already refcounted, >> ff_interleave_add_packet would allocate a new AVPacketList, use >> av_packet_ref to create a new reference to the buffer for the >> AVPacketList's packet, interleave the packet and

Re: [FFmpeg-devel] [PATCH 01/13] avformat/mux: Move packet references

2019-09-25 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Andreas Rheinhardt: >> In the common case that the input packet was already refcounted, >> ff_interleave_add_packet would allocate a new AVPacketList, use >> av_packet_ref to create a new reference to the buffer for the >> AVPacketList's packet, interleave the packet and

Re: [FFmpeg-devel] [PATCH 01/13] avformat/mux: Move packet references

2019-09-15 Thread Andreas Rheinhardt
Andreas Rheinhardt: > In the common case that the input packet was already refcounted, > ff_interleave_add_packet would allocate a new AVPacketList, use > av_packet_ref to create a new reference to the buffer for the > AVPacketList's packet, interleave the packet and finally unreference > the

[FFmpeg-devel] [PATCH 01/13] avformat/mux: Move packet references

2019-08-12 Thread Andreas Rheinhardt
In the common case that the input packet was already refcounted, ff_interleave_add_packet would allocate a new AVPacketList, use av_packet_ref to create a new reference to the buffer for the AVPacketList's packet, interleave the packet and finally unreference the original input packet. This commit