Fixes compilation with hardcoded tables aftertags/n3.3eaff1aa09eande71b8119e7Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org> Signed-off-by: James Almer <jamrial@gmail.com>
| @@ -25,7 +25,7 @@ | |||||
| #include <stdint.h> | #include <stdint.h> | ||||
| #include "libavutil/common.h" | #include "libavutil/common.h" | ||||
| #include "libavutil/internal.h" | |||||
| #include "libavutil/reverse.h" | |||||
| #include "config.h" | #include "config.h" | ||||
| #define MAX_NEG_CROP 1024 | #define MAX_NEG_CROP 1024 | ||||
| @@ -38,6 +38,7 @@ | |||||
| #include "time.h" | #include "time.h" | ||||
| #include "avstring.h" | #include "avstring.h" | ||||
| #include "timer.h" | #include "timer.h" | ||||
| #include "reverse.h" | |||||
| typedef struct Parser { | typedef struct Parser { | ||||
| const AVClass *class; | const AVClass *class; | ||||
| @@ -340,6 +340,4 @@ void ff_check_pixfmt_descriptors(void); | |||||
| */ | */ | ||||
| int avpriv_dict_set_timestamp(AVDictionary **dict, const char *key, int64_t timestamp); | int avpriv_dict_set_timestamp(AVDictionary **dict, const char *key, int64_t timestamp); | ||||
| extern const uint8_t ff_reverse[256]; | |||||
| #endif /* AVUTIL_INTERNAL_H */ | #endif /* AVUTIL_INTERNAL_H */ | ||||
| @@ -0,0 +1,28 @@ | |||||
| /* | |||||
| * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> | |||||
| * | |||||
| * 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 AVUTIL_REVERSE_H | |||||
| #define AVUTIL_REVERSE_H | |||||
| #include <stdint.h> | |||||
| extern const uint8_t ff_reverse[256]; | |||||
| #endif /* AVUTIL_REVERSE_H */ | |||||