Commit 60733a8c authored by Christophe Massiot's avatar Christophe Massiot

* src/misc/image.c: Really fixed the segfault on unsupported image type.

parent 00099f3e
......@@ -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 )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment