diff options
Diffstat (limited to 'ffmpeg/compat')
| -rw-r--r-- | ffmpeg/compat/getopt.c | 2 | ||||
| -rw-r--r-- | ffmpeg/compat/tms470/math.h | 23 |
2 files changed, 23 insertions, 2 deletions
diff --git a/ffmpeg/compat/getopt.c b/ffmpeg/compat/getopt.c index dd082ea..9a9c542 100644 --- a/ffmpeg/compat/getopt.c +++ b/ffmpeg/compat/getopt.c @@ -38,8 +38,6 @@ static int optind = 1; static int optopt; static char *optarg; -#undef fprintf - static int getopt(int argc, char *argv[], char *opts) { static int sp = 1; diff --git a/ffmpeg/compat/tms470/math.h b/ffmpeg/compat/tms470/math.h index 1104d74..6234cc5 100644 --- a/ffmpeg/compat/tms470/math.h +++ b/ffmpeg/compat/tms470/math.h @@ -1,3 +1,24 @@ +/* + * This file is part of FFmpeg. + * + * 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 + * Lesser General Public License for more details. + * + * 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 + */ + +#ifndef FFMPEG_COMPAT_TMS470_MATH_H +#define FFMPEG_COMPAT_TMS470_MATH_H + #include_next <math.h> #undef INFINITY @@ -5,3 +26,5 @@ #define INFINITY (*(const float*)((const unsigned []){ 0x7f800000 })) #define NAN (*(const float*)((const unsigned []){ 0x7fc00000 })) + +#endif /* FFMPEG_COMPAT_TMS470_MATH_H */ |
