Michael Conrad schrieb: > On Thu, 18 Dec 2008 21:55:51 -0500, Michael Conrad > <[email protected]> wrote: > >> The contract is that you must use the frame before the >> next call to decode, and that you must free the frame as well, so the >> codec can use whichever method it likes to manage memory. >> > > Whoops! I was thinking packets. Frame data doesn't need to be freed. > (its always managed by the codec) Your view of it (contained in AVFrame) > lasts from the time you call decode, until you decode again, until you > flush the codec (i.e. for seeking), or until you close the codec. > > That original statement should be accurate for decoders and packets, > though, in case you're wondering. > > Thanks for your help. That was exactly what I've been looking for. Btw. Is there a way to search the mailing list archives? I did my best using google before posting my question here, but I didn't stumble over the thread you mentioned.
Stefan _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
