[xiph-commits] r16462 - trunk/ffmpeg2theora/src

j at svn.xiph.org j at svn.xiph.org
Sun Aug 9 06:19:46 PDT 2009


Author: j
Date: 2009-08-09 06:19:46 -0700 (Sun, 09 Aug 2009)
New Revision: 16462

Modified:
   trunk/ffmpeg2theora/src/ffmpeg2theora.c
Log:
typo

Modified: trunk/ffmpeg2theora/src/ffmpeg2theora.c
===================================================================
--- trunk/ffmpeg2theora/src/ffmpeg2theora.c	2009-08-08 18:53:48 UTC (rev 16461)
+++ trunk/ffmpeg2theora/src/ffmpeg2theora.c	2009-08-09 13:19:46 UTC (rev 16462)
@@ -239,7 +239,7 @@
     if (g == 1.0 && c == 1.0 && b == 0.0) return;
     this->y_lut_used = 1;
 
-    printf("  Video correction: gamma=%g, contrast=%g, brightness=%g\n", g, c, b);
+    fprintf(stderr, "  Video correction: gamma=%g, contrast=%g, brightness=%g\n", g, c, b);
 
     g = 1.0 / g;    // larger values shall make brighter video.
 
@@ -267,7 +267,7 @@
     if (s == 1.0) return;
     this->uv_lut_used = 1;
 
-    printf("  Color correction: saturation=%g\n", s);
+    fprintf(stderr, "  Color correction: saturation=%g\n", s);
 
     for (i = 0; i < 256; i++) {
         v = 127.0 + (s * ((double)i - 127.0));
@@ -2552,9 +2552,9 @@
         }
         else{
                 if (info.frontend)
-                    fprintf(info.frontend, "{\"code\": \"basfile\", \"input format not supported.\"}\n");
+                    fprintf(info.frontend, "{\"code\": \"badfile\", \"input format not supported.\"}\n");
                 else if (output_json)
-                    fprintf(stdout, "{\"code\": \"basfile\", \"input format not supported.\"}\n");
+                    fprintf(stdout, "{\"code\": \"badfile\", \"input format not supported.\"}\n");
                 else
                     fprintf(stderr,"\nUnable to decode input.\n");
                 return(1);
@@ -2563,9 +2563,9 @@
     }
     else{
             if (info.frontend)
-                fprintf(info.frontend, "{\"code\": \"basfile\", \"file does not exist or has unknown data format.\"}\n");
+                fprintf(info.frontend, "{\"code\": \"badfile\", \"file does not exist or has unknown data format.\"}\n");
             else if (output_json)
-                fprintf(stdout, "{\"code\": \"basfile\", \"file does not exist or has unknown data format.\"}\n");
+                fprintf(stdout, "{\"code\": \"badfile\", \"file does not exist or has unknown data format.\"}\n");
             else
                 fprintf(stderr, "\nFile `%s' does not exist or has an unknown data format.\n", inputfile_name);
             return(1);



More information about the commits mailing list