summaryrefslogtreecommitdiff
path: root/libavutil/reverse.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-01-12 19:37:16 -0300
committerJames Almer <jamrial@gmail.com>2017-01-12 19:59:37 -0300
commit1d4d0ee4b02bfd741ef4d6bba5035018d8574f72 (patch)
tree0e2caf8d47ef4f5821196a97e36d345c76bdc84d /libavutil/reverse.h
parent2f94b305acfbc188fb906b4259b725929d617e58 (diff)
avutil/reverse: move the ff_reverse declaration to a separate header
Fixes compilation with hardcoded tables after eaff1aa09e90e2711207c9463db8bf8e8dec8178 and e71b8119e7db675dd2dac3f7fb069b0df2943c38 Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/reverse.h')
-rw-r--r--libavutil/reverse.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/libavutil/reverse.h b/libavutil/reverse.h
new file mode 100644
index 0000000000..4eb6123932
--- /dev/null
+++ b/libavutil/reverse.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 */