In avcodec_default_get_buffer, in utils.c the data for the frame pixel planes are alocated with buf->base[i]= av_malloc(size[i]+16); Does anyone have any ideas at what point in the code this data gets freed? Thanks, Gary.