On 17/12/2011 1:16 PM, Luca Barbato wrote:
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"
Hmm. How lovely.
+ 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...
I see what you mean, but I don't think it was very clear what is going
on and what 'size' is and how it relates to 'playload_size'...
Or I could just be dumb.
- Derek
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel