[FFmpeg-devel] [PATCH] indeo3: realloc buffers on size change
Reimar Döffinger
Reimar.Doeffinger
Mon Jul 6 18:50:12 CEST 2009
On Mon, Jul 06, 2009 at 05:30:51PM +0200, Michael Niedermayer wrote:
> On Mon, Jul 06, 2009 at 02:39:06PM +0200, Reimar D?ffinger wrote:
> > this fixes i32/smclocki32.avi.1.0 from issue 1240, the buffers were
> > initially allocated for size 0x32, thus had size 0.
> > This obviously crashed when the size changed to 32x32, and attached
> > patch fixes it.
>
> > indeo3.c | 19 ++++++++++++++++---
> > 1 file changed, 16 insertions(+), 3 deletions(-)
> > 19a4790c86f1677c18b9713ea3d3f23f0290e931 indeobuf.diff
>
> probably ok
Applied in two parts.
> besides i think the av_free() in indeo3 should be changed to
> av_freep
Done.
More information about the ffmpeg-devel
mailing list