summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/transcode/imagemagick.patch
blob: ed8ce23bedad96def53c9ab9663873404d7a4bec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--- transcode-1.0.1.orig/filter/filter_compare.c
+++ transcode-1.0.1/filter/filter_compare.c
@@ -180,6 +180,7 @@
 			if (!(compare[instance]->results = fopen(results_name, "w")))
 			{
 				perror("could not open file for writing");
+				return (-1);
 			}
 			
 			InitializeMagick("");
--- transcode-1.0.1.orig/filter/filter_logo.c	2005-10-21 22:18:49.000000000 +0200
+++ transcode-1.0.1/filter/filter_logo.c	2005-10-21 22:19:52.000000000 +0200
@@ -183,17 +183,18 @@
 
 	if (optstr_get (options, "help", "") >= 0)
 	    help_optstr();
-    }
 
-    if (verbose > 1) {
-	printf (" Logo renderer Settings:\n");
-	printf ("              file = %s\n", mfd->file);
-	printf ("            posdef = %d\n", mfd->pos);
-	printf ("               pos = %dx%d\n", mfd->posx, mfd->posy);
-	printf ("             range = %u-%u\n", mfd->start, mfd->end);
-	printf ("              flip = %d\n", mfd->flip);
-	printf ("       ignoredelay = %d\n", mfd->ignoredelay);
-	printf ("           rgbswap = %d\n", mfd->rgbswap);
+    	if (verbose > 1) {
+		printf (" Logo renderer Settings:\n");
+		printf ("              file = %s\n", mfd->file);
+		printf ("            posdef = %d\n", mfd->pos);
+		printf ("               pos = %dx%d\n", mfd->posx, mfd->posy);
+		printf ("             range = %u-%u\n", mfd->start, mfd->end);
+		printf ("              flip = %d\n", mfd->flip);
+		printf ("       ignoredelay = %d\n", mfd->ignoredelay);
+		printf ("           rgbswap = %d\n", mfd->rgbswap);
+    	}
+    return (-1);
     }
 
     InitializeMagick("");