summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/img_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/img_format.h')
-rw-r--r--libmpcodecs/img_format.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpcodecs/img_format.h b/libmpcodecs/img_format.h
index e62ecc4dc1..42e601a270 100644
--- a/libmpcodecs/img_format.h
+++ b/libmpcodecs/img_format.h
@@ -21,6 +21,7 @@
#include <sys/types.h>
#include "config.h"
+#include "bstr.h"
/* RGB/BGR Formats */
@@ -235,7 +236,7 @@ struct mp_imgfmt_entry {
extern struct mp_imgfmt_entry mp_imgfmt_list[];
-unsigned int mp_imgfmt_from_name(const char *name);
+unsigned int mp_imgfmt_from_name(bstr name, bool allow_hwaccel);
const char *mp_imgfmt_to_name(unsigned int fmt);
#endif /* MPLAYER_IMG_FORMAT_H */