diff --git a/libavcodec/bfin/fdct_bfin.S b/libavcodec/bfin/fdct_bfin.S
index 4c32436e01e1288e7f0fb1d4ac3df654b6b6dbd9..47ec381bf88101c5d40a68228a324cce75410b43 100644
--- a/libavcodec/bfin/fdct_bfin.S
+++ b/libavcodec/bfin/fdct_bfin.S
@@ -104,14 +104,14 @@ short dct_coef[]
   S3,C3,
 
 -----------------------------------------------------------
-FFMPEG conformance testing results
+Libav conformance testing results
 -----------------------------------------------------------
 dct-test: modified with the following
             dct_error("BFINfdct", 0, ff_bfin_fdct, fdct, test);
 produces the following output:
 
-root:/u/ffmpeg/bhead/libavcodec> ./dct-test
-ffmpeg DCT/IDCT test
+libavcodec> ./dct-test
+Libav DCT/IDCT test
 
     2  -131    -6   -48   -36    33   -83    24
    34    52   -24   -15     5    92    57   143
@@ -123,8 +123,6 @@ ffmpeg DCT/IDCT test
   -17   -63   -15    73    50   -91   159   -14
 DCT BFINfdct: err_inf=2 err2=0.16425938 syserr=0.00795000 maxout=2098 blockSumErr=27
 DCT BFINfdct: 92.1 kdct/s
-root:/u/ffmpeg/bhead/libavcodec>
-
 */
 
 #include "config.h"
diff --git a/libavcodec/bfin/idct_bfin.S b/libavcodec/bfin/idct_bfin.S
index b3dedd341076cd2dbfdc6ae78d5034970456eec0..36d50a7007d47e4e19c7bffb0cb069fb7dae3259 100644
--- a/libavcodec/bfin/idct_bfin.S
+++ b/libavcodec/bfin/idct_bfin.S
@@ -32,15 +32,15 @@ Performance     :
 
 
 -----------------------------------------------------------
-FFMPEG conformance testing results
+Libav conformance testing results
 -----------------------------------------------------------
 
 dct-test: modified with the following
             dct_error("BFINidct", 1, ff_bfin_idct, idct, test);
 produces the following output
 
-root:/u/ffmpeg/bhead/libavcodec> ./dct-test -i
-ffmpeg DCT/IDCT test
+libavcodec> ./dct-test -i
+Libav DCT/IDCT test
 
     8    15    -2    21    24    17     0    10
     2   -10    -5    -5    -3     7   -14    -3
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index 90707f61811256cbc3b08ea47da74ed369ce5e0a..d30454990adc4dce4b994adb23388e88de2c50f3 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -543,7 +543,7 @@ int main(int argc, char **argv)
     if (optind < argc)
         test = atoi(argv[optind]);
 
-    printf("ffmpeg DCT/IDCT test\n");
+    printf("Libav DCT/IDCT test\n");
 
     if (test_248_dct) {
         idct248_error("SIMPLE-C", ff_simple_idct248_put, speed);
diff --git a/libavcodec/motion-test.c b/libavcodec/motion-test.c
index 7ac5cc7d4a581b14aff4696a8680fa3075e86111..f689824f8e757de641b89164d616b83eece66d26 100644
--- a/libavcodec/motion-test.c
+++ b/libavcodec/motion-test.c
@@ -142,7 +142,7 @@ int main(int argc, char **argv)
         }
     }
 
-    printf("ffmpeg motion test\n");
+    printf("Libav motion test\n");
 
     ctx = avcodec_alloc_context3(NULL);
     ctx->dsp_mask = AV_CPU_FLAG_FORCE;
diff --git a/libavutil/log.c b/libavutil/log.c
index c44130c26ef790dc3855942fbfa37cb91c9e5f30..4d2b539deec7e0eea44226701b5e04cf803d85df 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -53,17 +53,17 @@ static void colored_fputs(int level, const char *str){
 #if defined(_WIN32) && !defined(__MINGW32CE__)
         CONSOLE_SCREEN_BUFFER_INFO con_info;
         con = GetStdHandle(STD_ERROR_HANDLE);
-        use_color = (con != INVALID_HANDLE_VALUE) && !getenv("NO_COLOR") && !getenv("FFMPEG_FORCE_NOCOLOR");
+        use_color = (con != INVALID_HANDLE_VALUE) && !getenv("NO_COLOR") && !getenv("AV_LOG_FORCE_NOCOLOR");
         if (use_color) {
             GetConsoleScreenBufferInfo(con, &con_info);
             attr_orig  = con_info.wAttributes;
             background = attr_orig & 0xF0;
         }
 #elif HAVE_ISATTY
-        use_color= !getenv("NO_COLOR") && !getenv("FFMPEG_FORCE_NOCOLOR") &&
-            (getenv("TERM") && isatty(2) || getenv("FFMPEG_FORCE_COLOR"));
+        use_color= !getenv("NO_COLOR") && !getenv("AV_LOG_FORCE_NOCOLOR") &&
+            (getenv("TERM") && isatty(2) || getenv("AV_LOG_FORCE_COLOR"));
 #else
-        use_color= getenv("FFMPEG_FORCE_COLOR") && !getenv("NO_COLOR") && !getenv("FFMPEG_FORCE_NOCOLOR");
+        use_color= getenv("AV_LOG_FORCE_COLOR") && !getenv("NO_COLOR") && !getenv("AV_LOG_FORCE_NOCOLOR");
 #endif
     }
 
diff --git a/libavutil/parseutils.c b/libavutil/parseutils.c
index a7a451821520ec254504b3674e731dd113aaeb25..1f8f7a8d46232ea04dc349d989b1c391e9cf9937 100644
--- a/libavutil/parseutils.c
+++ b/libavutil/parseutils.c
@@ -401,10 +401,7 @@ static int date_get_num(const char **pp,
     return val;
 }
 
-/* small strptime for ffmpeg */
-static
-const char *small_strptime(const char *p, const char *fmt,
-                           struct tm *dt)
+static const char *small_strptime(const char *p, const char *fmt, struct tm *dt)
 {
     int c, val;