On Tue, 20 Oct 2015 18:41:46 +0200 Luca Barbato <[email protected]> wrote:
> On 20/10/15 16:03, wm4 wrote: > > I don't understand the condition for the last parameter to > > add_to_pktbuf. Something about the packet being already referenced in > > some cases? > > If the memory comes from the parser it is a chunk of a packet, so you > create a new packet out of it. > > If the packet parsed is the same as the input packet, you just take it > as is. > > I'll doublecheck that part again to see if I can make easier to follow. This should not matter if you just use av_packet_ref(). _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
