Hello,

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?

Here's a code snippet to illustrate:

[image: Screen Shot 2019-12-08 at 16.35.26.png]

Thanks a lot for your help!

Philippe
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to