Mercurial > mplayer.hg
comparison gui/mplayer/gui_common.c @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | 9e739bdb049c |
children | 6ef41a766a74 |
comparison
equal
deleted
inserted
replaced
29262:7d545a6b8aff | 29263:0f1b5b68af32 |
---|---|
52 | 52 |
53 static inline void TranslateFilename( int c,char * tmp,size_t tmplen ) | 53 static inline void TranslateFilename( int c,char * tmp,size_t tmplen ) |
54 { | 54 { |
55 int i; | 55 int i; |
56 char * p; | 56 char * p; |
57 | 57 |
58 switch ( guiIntfStruct.StreamType ) | 58 switch ( guiIntfStruct.StreamType ) |
59 { | 59 { |
60 case STREAMTYPE_STREAM: | 60 case STREAMTYPE_STREAM: |
61 av_strlcpy(tmp, guiIntfStruct.Filename, tmplen); | 61 av_strlcpy(tmp, guiIntfStruct.Filename, tmplen); |
62 break; | 62 break; |
212 | 212 |
213 #if 1 | 213 #if 1 |
214 for ( iy=y;iy < (int)(y+bf->Height / max);iy++ ) | 214 for ( iy=y;iy < (int)(y+bf->Height / max);iy++ ) |
215 for ( ix=x;ix < (int)(x+bf->Width);ix++ ) | 215 for ( ix=x;ix < (int)(x+bf->Width);ix++ ) |
216 { | 216 { |
217 tmp=drw[i++]; | 217 tmp=drw[i++]; |
218 if ( tmp != 0x00ff00ff ) buf[iy * image_width + ix]=tmp; | 218 if ( tmp != 0x00ff00ff ) buf[iy * image_width + ix]=tmp; |
219 } | 219 } |
220 #else | 220 #else |
221 yc=y * image_width; | 221 yc=y * image_width; |
222 for ( iy=y;iy < (int)(y+bf->Height / max);iy++ ) | 222 for ( iy=y;iy < (int)(y+bf->Height / max);iy++ ) |
223 { | 223 { |
224 for ( ix=x;ix < (int)(x+bf->Width);ix++ ) | 224 for ( ix=x;ix < (int)(x+bf->Width);ix++ ) |
225 { | 225 { |
226 tmp=drw[i++]; | 226 tmp=drw[i++]; |
227 if ( tmp != 0x00ff00ff ) buf[yc + ix]=tmp; | 227 if ( tmp != 0x00ff00ff ) buf[yc + ix]=tmp; |
228 } | 228 } |
229 yc+=image_width; | 229 yc+=image_width; |
230 } | 230 } |
231 #endif | 231 #endif |
246 r=bf->Width-w; | 246 r=bf->Width-w; |
247 for ( iy=y;iy < (int)(y+bf->Height);iy++ ) | 247 for ( iy=y;iy < (int)(y+bf->Height);iy++ ) |
248 { | 248 { |
249 for ( ix=x;ix < (int)(x+w);ix++ ) | 249 for ( ix=x;ix < (int)(x+w);ix++ ) |
250 { | 250 { |
251 tmp=drw[i++]; | 251 tmp=drw[i++]; |
252 if ( tmp != 0x00ff00ff ) buf[iy * image_width + ix]=tmp; | 252 if ( tmp != 0x00ff00ff ) buf[iy * image_width + ix]=tmp; |
253 } | 253 } |
254 i+=r; | 254 i+=r; |
255 } | 255 } |
256 } | 256 } |