changeset 2248:e4e1b4f31db6 libavcodec

segfault fix by (Kostya <cannonball at bw-team dot com>)
author michael
date Thu, 23 Sep 2004 09:42:25 +0000
parents f8ac68cd4fa8
children 2b1a5e1fd449
files lcl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lcl.c	Wed Sep 22 05:04:18 2004 +0000
+++ b/lcl.c	Thu Sep 23 09:42:25 2004 +0000
@@ -843,7 +843,7 @@
     LclContext *c = avctx->priv_data;
 
     av_freep(&avctx->extradata);
-    av_freep(c->comp_buf);
+    av_freep(&c->comp_buf);
 #ifdef CONFIG_ZLIB
     deflateEnd(&(c->zstream));
 #endif