On 17/12/11 18:58, Derek Buitenhuis wrote:
On 17/12/2011 8:42 AM, Luca Barbato wrote:
+ memcpy(ts_st->payload + ts_st->payload_size, buf, size);
This would seem to indicate it actually holds the offset, and
not the size. "index" would still seem to be a more fitting name.
that one is "append to the current payload the additional buffer"
+ ts_st->payload_size += size;
At this point, it no longer contains the payload size.
It is the current payload size.
And that makes me a little wary now...
lu
--
Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel