On Sat, 9 Jun 2012, Simon A. Eugster wrote:
Patch mentions that AVPacket::data has to be initialized. Got random segfaults after applying changes in unrelated parts of my code, took me quite some time to find out that it was because I did not initialize them.
This is a good idea, I think you're not the only one who have run into this issue. I think I'd rather have the wording slightly changed though. Instead of saying "\c pkt->data and \c pkt->size must be initialized if they were not already.", I'd say "Note, this does not touch the data and size members" or something along those lines.
// Martin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
