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.

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to