From 789d399b47af0556b5b27ebfc7d54d750e39a41d Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Wed, 23 Oct 2002 19:25:44 +0000 Subject: img_buffer was uninitialized, and later passed to free(), resulting in an xine crash. CVS patchset: 2969 CVS date: 2002/10/23 19:25:44 --- src/libxinevdec/cinepak.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/libxinevdec/cinepak.c b/src/libxinevdec/cinepak.c index c91ac095c..429c5431f 100644 --- a/src/libxinevdec/cinepak.c +++ b/src/libxinevdec/cinepak.c @@ -22,7 +22,7 @@ * based on overview of Cinepak algorithm and example decoder * by Tim Ferguson: http://www.csse.monash.edu.au/~timf/ * - * $Id: cinepak.c,v 1.16 2002/10/20 16:47:05 tmmm Exp $ + * $Id: cinepak.c,v 1.17 2002/10/23 19:25:44 jkeil Exp $ */ #include @@ -486,6 +486,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre this->decoder_ok = 0; this->buf = NULL; + this->img_buffer = NULL; return &this->video_decoder; } -- cgit v1.2.3