]> git.sesse.net Git - vlc/blobdiff - src/misc/image.c
cpu: fix a typo and cpu detection on Mac OS.
[vlc] / src / misc / image.c
index af2d425343f4c35753c37697acaa4d386aad91a7..497ed2bed947d8081c3c33f06ada7435c02a1dfb 100644 (file)
@@ -377,7 +377,7 @@ static int ImageWriteUrl( image_handler_t *p_image, picture_t *p_pic,
         p_fmt_out->i_chroma = image_Ext2Fourcc( psz_url );
     }
 
-    file = utf8_fopen( psz_url, "wb" );
+    file = vlc_fopen( psz_url, "wb" );
     if( !file )
     {
         msg_Err( p_image->p_parent, "%s: %m", psz_url );