[FFmpeg-devel] [PATCH] indeo3: realloc buffers on size change

Michael Niedermayer michaelni
Mon Jul 6 17:30:51 CEST 2009


On Mon, Jul 06, 2009 at 02:39:06PM +0200, Reimar D?ffinger wrote:
> Hello,
> 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
besides i think the av_free() in indeo3 should be changed to
av_freep

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090706/f62fe551/attachment.pgp>



More information about the ffmpeg-devel mailing list