Ralf Terdic wrote: > Hi, > > In libx264.c, at the bottom of X264_init, avctx->extradata is allocated, but > it's never freed. If the codec is repeatedly opened and closed, then the > resulting leak is quite considerable. > > Please review and apply the attached fix. No need for the if(). -- M?ns Rullg?rd mans at mansr.com