<div dir="ltr">Hello,<div><br><div>I'm trying to send the "data" field of AVpacket over a socket. When I get the size field, it tells me about 22,000 (which makes sense), but when I reference the data field (with packet->data) I only get about 8, which seems to be only be pointer. How can I access the uint8_t array so I can send it over my socket?</div><div><br></div><div>Here's a code snippet to illustrate:</div><div><br></div><div><img src="cid:ii_k3xj04wq0" alt="Screen Shot 2019-12-08 at 16.35.26.png" width="468" height="68"><br></div><div><br></div><div>Thanks a lot for your help!</div><div><br></div><div>Philippe</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"></div></div></div></div></div></div></div></div></div></div></div></div>