]> git.sesse.net Git - ffmpeg/blobdiff - libswscale/cs_test.c
Clarify that we require GNU make 3.81+.
[ffmpeg] / libswscale / cs_test.c
index 876f270411bb0b023274e8b5748b0629c459b689..2223ee3a310e1e91634a7039c01536f8a1e536f4 100644 (file)
@@ -3,19 +3,19 @@
  *
  * This file is part of FFmpeg.
  *
- * FFmpeg is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
  *
  * FFmpeg is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with FFmpeg; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include <stdio.h>
@@ -75,7 +75,7 @@ int main(int argc, char **argv)
         struct func_info_s {
             int src_bpp;
             int dst_bpp;
-            char *name;
+            const char *name;
             void (*func)(const uint8_t *src, uint8_t *dst, long src_size);
         } func_info[] = {
             FUNC(2, 2, rgb15to16),
@@ -127,7 +127,7 @@ int main(int argc, char **argv)
                 for(srcOffset=128; srcOffset<196; srcOffset+=4){
                     uint8_t *src= srcBuffer+srcOffset;
                     uint8_t *dst= dstBuffer+dstOffset;
-                    char *name=NULL;
+                    const char *name=NULL;
 
                     if(failed) break; //don't fill the screen with shit ...