summaryrefslogtreecommitdiffstats
path: root/gui/bitmap.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-13 02:58:57 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-13 02:58:57 +0000
commit6e9cbdc10448203e7c8b2de41447442fcc9f7bae (patch)
tree0ed465592509105fdbeab27fc12ddbb2e3590aa5 /gui/bitmap.c
parenteafe5b7517bbf408ae1ffc936a3abe2313c3b334 (diff)
downloadmpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.bz2
mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.xz
whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'gui/bitmap.c')
-rw-r--r--gui/bitmap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gui/bitmap.c b/gui/bitmap.c
index df937e06c5..6cf7d35d60 100644
--- a/gui/bitmap.c
+++ b/gui/bitmap.c
@@ -34,9 +34,9 @@ static int pngRead( unsigned char * fname,txSample * bf )
int len;
AVCodecContext *avctx;
AVFrame *frame;
-
+
FILE *fp=fopen( fname,"rb" );
- if ( !fp )
+ if ( !fp )
{
mp_dbg( MSGT_GPLAYER,MSGL_DBG2,"[png] file read error ( %s )\n",fname );
return 1;
@@ -108,10 +108,10 @@ static int conv24to32( txSample * bf )
static void Normalize( txSample * bf )
{
int i;
-#ifndef WORDS_BIGENDIAN
+#ifndef WORDS_BIGENDIAN
for ( i=0;i < (int)bf->ImageSize;i+=4 ) bf->Image[i+3]=0;
#else
- for ( i=0;i < (int)bf->ImageSize;i+=4 ) bf->Image[i]=0;
+ for ( i=0;i < (int)bf->ImageSize;i+=4 ) bf->Image[i]=0;
#endif
}
@@ -146,7 +146,7 @@ int bpRead( char * fname, txSample * bf )
{
fname=fExist( fname );
if ( fname == NULL ) return -2;
- if ( pngRead( fname,bf ) )
+ if ( pngRead( fname,bf ) )
{
mp_dbg( MSGT_GPLAYER,MSGL_FATAL,"[bitmap] unknown file type ( %s )\n",fname );
return -5;