aboutsummaryrefslogtreecommitdiffstats
path: root/vhook
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2007-06-17 00:16:55 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2007-06-17 00:16:55 +0000
commitef4c82cb5110152321ea6a4a77a109258c0def0f (patch)
tree34d3b82f0ea00b525e96d838569eef0e94bad43b /vhook
parente4d86a57902382a1818378acf7cbbf4aac714aad (diff)
downloadffmpeg-ef4c82cb5110152321ea6a4a77a109258c0def0f.tar.gz
Indentation
Originally committed as revision 9347 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook')
-rw-r--r--vhook/imlib2.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/vhook/imlib2.c b/vhook/imlib2.c
index 411d0c421c..f03293a8a4 100644
--- a/vhook/imlib2.c
+++ b/vhook/imlib2.c
@@ -268,13 +268,13 @@ int Configure(void **ctxp, int argc, char *argv[])
}
if (ci->text || ci->file) {
- ci->fn = imlib_load_font(font);
- if (!ci->fn) {
- fprintf(stderr, "Failed to load font '%s'\n", font);
- return -1;
- }
- imlib_context_set_font(ci->fn);
- imlib_context_set_direction(IMLIB_TEXT_TO_RIGHT);
+ ci->fn = imlib_load_font(font);
+ if (!ci->fn) {
+ fprintf(stderr, "Failed to load font '%s'\n", font);
+ return -1;
+ }
+ imlib_context_set_font(ci->fn);
+ imlib_context_set_direction(IMLIB_TEXT_TO_RIGHT);
}
if (color) {
@@ -334,7 +334,7 @@ int Configure(void **ctxp, int argc, char *argv[])
}
if (!ci->eval_colors)
- imlib_context_set_color(ci->r, ci->g, ci->b, 255);
+ imlib_context_set_color(ci->r, ci->g, ci->b, 255);
/* load the image (for example, credits for a movie) */
if (ci->fileImage) {
@@ -401,7 +401,7 @@ void Process(void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int width,
imlib_context_set_image(image);
data = imlib_image_get_data();
- avpicture_fill(&picture1, (uint8_t *) data, PIX_FMT_RGB32, width, height);
+ avpicture_fill(&picture1, (uint8_t *) data, PIX_FMT_RGB32, width, height);
// if we already got a SWS context, let's realloc if is not re-useable
ci->toRGB_convert_ctx = sws_getCachedContext(ci->toRGB_convert_ctx,