Browse code

Replace some forgotten FFmpeg references by Libav.

Diego Biurrun authored on 2011/10/31 02:25:48
Showing 6 changed files
... ...
@@ -104,14 +104,14 @@ short dct_coef[]
104 104
   S3,C3,
105 105
 
106 106
 -----------------------------------------------------------
107
-FFMPEG conformance testing results
107
+Libav conformance testing results
108 108
 -----------------------------------------------------------
109 109
 dct-test: modified with the following
110 110
             dct_error("BFINfdct", 0, ff_bfin_fdct, fdct, test);
111 111
 produces the following output:
112 112
 
113
-root:/u/ffmpeg/bhead/libavcodec> ./dct-test
114
-ffmpeg DCT/IDCT test
113
+libavcodec> ./dct-test
114
+Libav DCT/IDCT test
115 115
 
116 116
     2  -131    -6   -48   -36    33   -83    24
117 117
    34    52   -24   -15     5    92    57   143
... ...
@@ -123,8 +123,6 @@ ffmpeg DCT/IDCT test
123 123
   -17   -63   -15    73    50   -91   159   -14
124 124
 DCT BFINfdct: err_inf=2 err2=0.16425938 syserr=0.00795000 maxout=2098 blockSumErr=27
125 125
 DCT BFINfdct: 92.1 kdct/s
126
-root:/u/ffmpeg/bhead/libavcodec>
127
-
128 126
 */
129 127
 
130 128
 #include "config.h"
... ...
@@ -32,15 +32,15 @@ Performance     :
32 32
 
33 33
 
34 34
 -----------------------------------------------------------
35
-FFMPEG conformance testing results
35
+Libav conformance testing results
36 36
 -----------------------------------------------------------
37 37
 
38 38
 dct-test: modified with the following
39 39
             dct_error("BFINidct", 1, ff_bfin_idct, idct, test);
40 40
 produces the following output
41 41
 
42
-root:/u/ffmpeg/bhead/libavcodec> ./dct-test -i
43
-ffmpeg DCT/IDCT test
42
+libavcodec> ./dct-test -i
43
+Libav DCT/IDCT test
44 44
 
45 45
     8    15    -2    21    24    17     0    10
46 46
     2   -10    -5    -5    -3     7   -14    -3
... ...
@@ -543,7 +543,7 @@ int main(int argc, char **argv)
543 543
     if (optind < argc)
544 544
         test = atoi(argv[optind]);
545 545
 
546
-    printf("ffmpeg DCT/IDCT test\n");
546
+    printf("Libav DCT/IDCT test\n");
547 547
 
548 548
     if (test_248_dct) {
549 549
         idct248_error("SIMPLE-C", ff_simple_idct248_put, speed);
... ...
@@ -142,7 +142,7 @@ int main(int argc, char **argv)
142 142
         }
143 143
     }
144 144
 
145
-    printf("ffmpeg motion test\n");
145
+    printf("Libav motion test\n");
146 146
 
147 147
     ctx = avcodec_alloc_context3(NULL);
148 148
     ctx->dsp_mask = AV_CPU_FLAG_FORCE;
... ...
@@ -53,17 +53,17 @@ static void colored_fputs(int level, const char *str){
53 53
 #if defined(_WIN32) && !defined(__MINGW32CE__)
54 54
         CONSOLE_SCREEN_BUFFER_INFO con_info;
55 55
         con = GetStdHandle(STD_ERROR_HANDLE);
56
-        use_color = (con != INVALID_HANDLE_VALUE) && !getenv("NO_COLOR") && !getenv("FFMPEG_FORCE_NOCOLOR");
56
+        use_color = (con != INVALID_HANDLE_VALUE) && !getenv("NO_COLOR") && !getenv("AV_LOG_FORCE_NOCOLOR");
57 57
         if (use_color) {
58 58
             GetConsoleScreenBufferInfo(con, &con_info);
59 59
             attr_orig  = con_info.wAttributes;
60 60
             background = attr_orig & 0xF0;
61 61
         }
62 62
 #elif HAVE_ISATTY
63
-        use_color= !getenv("NO_COLOR") && !getenv("FFMPEG_FORCE_NOCOLOR") &&
64
-            (getenv("TERM") && isatty(2) || getenv("FFMPEG_FORCE_COLOR"));
63
+        use_color= !getenv("NO_COLOR") && !getenv("AV_LOG_FORCE_NOCOLOR") &&
64
+            (getenv("TERM") && isatty(2) || getenv("AV_LOG_FORCE_COLOR"));
65 65
 #else
66
-        use_color= getenv("FFMPEG_FORCE_COLOR") && !getenv("NO_COLOR") && !getenv("FFMPEG_FORCE_NOCOLOR");
66
+        use_color= getenv("AV_LOG_FORCE_COLOR") && !getenv("NO_COLOR") && !getenv("AV_LOG_FORCE_NOCOLOR");
67 67
 #endif
68 68
     }
69 69
 
... ...
@@ -401,10 +401,7 @@ static int date_get_num(const char **pp,
401 401
     return val;
402 402
 }
403 403
 
404
-/* small strptime for ffmpeg */
405
-static
406
-const char *small_strptime(const char *p, const char *fmt,
407
-                           struct tm *dt)
404
+static const char *small_strptime(const char *p, const char *fmt, struct tm *dt)
408 405
 {
409 406
     int c, val;
410 407