[FFmpeg-devel] [PATCH] Per codec defaults
Thu Jun 5 16:23:51 CEST 2008
Robert Swain wrote:
> I get a strange error when running ffmpeg_g -y -ss 600 -i infile.avi
> -an -t 30 -vcodec libx264 -b 500k outfile.mp4 :
> ffmpeg_g(87163) malloc: *** error for object 0x418dce: Non-aligned
> pointer being freed
> *** set a breakpoint in malloc_error_break to debug
This means you passed an invalid pointer to free(), 0x418dce to be
precise. This is obviously invalid, since all pointers returned by
malloc are 8-byte aligned, and this value is not.
> It's strange because ffmpeg_g exits normally. So I guess there's a bug
> in there somewhere but I'm not quite sure where. Otherwise it seems to
> work OK though.
Did you try valgrind?
mans at mansr.com
More information about the ffmpeg-devel