[Ffmpeg-devel] Re: avcodec_default_get_buffer, freeing of pic->base[i]

QuickTime ffmpeg
Fri May 26 02:43:54 CEST 2006


Dear:

You may check:
avcodec_default_free_buffers(s->avctx) which is called from
MPV_common_end(MpegEncContext *s)

Cheer!

>
> 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.
>

//----------------------------------------
Heaven is not a place, it's just a feeling




More information about the ffmpeg-devel mailing list