summaryrefslogtreecommitdiffstats
path: root/audio/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/format.h')
-rw-r--r--audio/format.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/audio/format.h b/audio/format.h
index 36a005500e..83da59cf61 100644
--- a/audio/format.h
+++ b/audio/format.h
@@ -22,10 +22,9 @@
#ifndef MPLAYER_AF_FORMAT_H
#define MPLAYER_AF_FORMAT_H
+#include <stddef.h>
#include <stdbool.h>
-#include "misc/bstr.h"
-
enum af_format {
AF_FORMAT_UNKNOWN = 0,
@@ -60,14 +59,6 @@ enum af_format {
#define AF_FORMAT_IS_FLOAT(f) af_fmt_is_float(f)
#define AF_FORMAT_IS_PLANAR(f) af_fmt_is_planar(f)
-struct af_fmt_entry {
- const char *name;
- int format;
-};
-
-extern const struct af_fmt_entry af_fmtstr_table[];
-
-int af_str2fmt_short(bstr str);
const char *af_fmt_to_str(int format);
int af_fmt2bps(int format);