]> git.sesse.net Git - vlc/blobdiff - src/misc/image.c
Win32: use Win32DebugOutputMsgW instead of ANSI version
[vlc] / src / misc / image.c
index 3f55ef687996b5c75c1591349537c46aecdad9e8..2ce3f9ca691c42c6de34f7fcce52cd37fdd0b1a1 100644 (file)
@@ -240,7 +240,7 @@ static picture_t *ImageReadUrl( image_handler_t *p_image, const char *psz_url,
 
     i_size = stream_Size( p_stream );
 
-    p_block = block_New( p_image->p_parent, i_size );
+    p_block = block_Alloc( i_size );
 
     stream_Read( p_stream, p_block->p_buffer, i_size );