AliReza Khoshgoftar wrote: > Imagine I have a packet of type "AVPacket"
http://cekirdek.pardus.org.tr/~ismail/ffmpeg-docs/structAVPacket.html > but seemingly I had an incorrect assumption here (the assumption was > "packet.size" is actually "sizeof(packet.data)", but when I checked the > values, the former is of order of 1000, while the latter is simply 4) sizeof(pkt.data) == sizeof(uint8_t *) i.e. the size of a pointer > First of all it is really weird for me that for a video > "sizeof(packet.data) = 4", does it mean "packet.data" is an array of only 4 > "uint8_t"s??? pkt.data is a pointer, not an array. > Second, what is "packet.size", if it is not the number of elements in > "packet.data" array? the number of octets pointed to by data -- Regards. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
