[MPlayer-cvslog] r35092 - trunk/gui/win32/skinload.c
ib
subversion at mplayerhq.hu
Wed Aug 15 15:10:16 CEST 2012
Author: ib
Date: Wed Aug 15 15:10:16 2012
New Revision: 35092
Log:
Initialize variable.
It may be used uninitialized else.
Modified:
trunk/gui/win32/skinload.c
Modified: trunk/gui/win32/skinload.c
==============================================================================
--- trunk/gui/win32/skinload.c Wed Aug 15 15:02:31 2012 (r35091)
+++ trunk/gui/win32/skinload.c Wed Aug 15 15:10:16 2012 (r35092)
@@ -149,7 +149,7 @@ static image *pngRead(skin_t *skin, cons
int src_stride[4] = { 4 * bmp.Width, 0, 0, 0 };
uint8_t *dst[4] = { NULL, NULL, NULL, NULL };
int dst_stride[4];
- enum PixelFormat out_pix_fmt;
+ enum PixelFormat out_pix_fmt = PIX_FMT_NONE;
struct SwsContext *sws;
if (skin->desktopbpp == 16) out_pix_fmt = PIX_FMT_RGB555;
else if (skin->desktopbpp == 24) out_pix_fmt = PIX_FMT_RGB24;
More information about the MPlayer-cvslog
mailing list