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.

+    ts_st->payload_size += size;

At this point, it no longer contains the payload size.

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

Reply via email to