Commit fd018c28 authored by gpoirier's avatar gpoirier

RFC 3&4 stage: FFmpeg style aint't my style

- Tabs are 4 width
- No tabs allowed

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7297 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ce2e278e
......@@ -242,12 +242,12 @@ getCurrentPointer(AVFormatContext *s1, X11Grab *s, int *x, int *y)
}
#define DRAW_CURSOR_TEMPLATE(type_t) \
do { \
type_t *cursor; \
int width_cursor; \
uint16_t bm_b, bm_w, mask; \
\
for (line = 0; line < min(20, (y_off + height) - *y); line++ ) { \
do { \
type_t *cursor; \
int width_cursor; \
uint16_t bm_b, bm_w, mask; \
\
for (line = 0; line < min(20, (y_off + height) - *y); line++ ) { \
if (s->mouse_wanted == 1) { \
bm_b = mousePointerBlack[line]; \
bm_w = mousePointerWhite[line]; \
......@@ -256,7 +256,7 @@ for (line = 0; line < min(20, (y_off + height) - *y); line++ ) { \
bm_w = mousePointerBlack[line]; \
} \
mask = ( 0x0001 << 15 ); \
\
\
for (cursor = (type_t*) im_data, width_cursor = 0; \
((width_cursor + *x) < (width + x_off) && width_cursor < 16); \
cursor++, width_cursor++) { \
......@@ -268,8 +268,8 @@ for (line = 0; line < min(20, (y_off + height) - *y); line++ ) { \
mask >>= 1; \
} \
im_data += image->bytes_per_line; \
} \
} while (0)
} \
} while (0)
static void
paintMousePointer(AVFormatContext *s1, X11Grab *s, int *x, int *y, XImage *image)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment