On Wed, May 11, 2011 at 01:43:35AM +0200, Baptiste Coudurier wrote: > + av_free(x4->preset); > + av_free(x4->tune); > + av_free(x4->profile); > + av_free(x4->level); > + av_free(x4->stats); > + av_free(x4->weightp); av_freep might make (limited) sense here?