]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/src/file_bitmap.cpp
Used VLC_CODEC_* and vlc_fourcc_GetCodec when suitable.
[vlc] / modules / gui / skins2 / src / file_bitmap.cpp
index 1724b49844ff19b00cf25b3ee242c09c8c86dd68..5ab377d5cd6522e52a34cd9e167a9812cd3d43fb 100644 (file)
@@ -39,7 +39,7 @@ FileBitmap::FileBitmap( intf_thread_t *pIntf, image_handler_t *pImageHandler,
     video_format_t fmt_in = {0}, fmt_out = {0};
     picture_t *pPic;
 
-    fmt_out.i_chroma = VLC_FOURCC('R','G','B','A');
+    fmt_out.i_chroma = VLC_CODEC_RGBA;
 
     pPic = image_ReadUrl( pImageHandler, fileName.c_str(), &fmt_in, &fmt_out );
     if( !pPic ) return;