[Ffmpeg-devel] dealloc AVFrame
Wed Feb 7 05:01:11 CET 2007
On 2/6/07, Axel Gallus <uh5d at rz.uni-karlsruhe.de> wrote:
> When i use av_alloc_frame ( frame )
> a frame structure gets initialized.
> After that if i use avcodec_decode_video() on that frame, the data field of
> that frame gets filled with
> uncompressed picture data.
> At the end i use av_free ( frame ) and the structure of that frame gets
> freed, but what's with the data field?
> Do i have to do a av_free ( frame->data ) before av_free ( frame )?
> Obviously not, but maybe someone is able to give me a hint how this data
> stuff is handled internally by ffmpeg.
I may be wrong but I believe it is bad etiquette to reply an entire
message digest to the list. Please only quote the relevant message
More information about the ffmpeg-devel