]> git.sesse.net Git - vlc/commitdiff
* src/misc/image.c: Really fixed the segfault on unsupported image type.
authorChristophe Massiot <massiot@videolan.org>
Wed, 3 Aug 2005 14:52:17 +0000 (14:52 +0000)
committerChristophe Massiot <massiot@videolan.org>
Wed, 3 Aug 2005 14:52:17 +0000 (14:52 +0000)
src/misc/image.c

index 6dc8e9f5f58d07b1c96859bee0fb33420e87e177..7e20fb276ad0b62df100e14157dcce0f7477e2c9 100644 (file)
@@ -124,7 +124,6 @@ static picture_t *ImageRead( image_handler_t *p_image, block_t *p_block,
     }
 
     p_block->i_pts = p_block->i_dts = mdate();
-    p_pic = p_image->p_dec->pf_decode_video( p_image->p_dec, &p_block );
     while( (p_tmp = p_image->p_dec->pf_decode_video( p_image->p_dec, &p_block ))
              != NULL )
     {