On 2013-04-29 4:20 PM, Anton Khirnov wrote: >> > - buf[] must contain one or more pointers to AVBufferRef structures. Each >> > of >> > the frame's data and extended_data pointers must be contained in these. >> > That >> > is, one pointer for each allocated chunk of memory, > ^^^^^^^ > I'd s/pointer/AVBufferRef/, pointer is too vague
You are misunderstanding. It is a pointer to an AVBufferRef, not an AVBufferRef. i.e. buf[] holds AVBufferRef*, not AVBufferRef. It's an important distinction. >> > not one AVBufferRef per data[] entry. > Well it can be one AVBufferRef per data entry, this sentence kinda implies > otherwise. > > maybe rephrase it like "not necessarily one AVBufferRef per ..." > or "..., but several data pointers may share one AVBufferRef" I like the former. - Derek _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
