[FFmpeg-devel] [PATCH 1/3] Sanitize av_realloc() use in h264 mp4toannexb bistream filter.

Benoit Fouet benoit.fouet
Thu Jun 10 08:01:26 CEST 2010


On Wed, 9 Jun 2010 22:46:47 +0200 Michael Niedermayer wrote:
> On Wed, Jun 09, 2010 at 11:49:13AM +0200, Benoit Fouet wrote:
> > ---
> >  libavcodec/h264_mp4toannexb_bsf.c |   29 +++++++++++++++++++++--------
> >  1 files changed, 21 insertions(+), 8 deletions(-)
> 
> ok, though maybe we should one day write a av_realloc() that frees the buffer
> in case of failure
> 

Applied, along with the two cosmetic ones.

Ben




More information about the ffmpeg-devel mailing list