diff options
Diffstat (limited to 'video/img_format.h')
-rw-r--r-- | video/img_format.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/img_format.h b/video/img_format.h index ee731aa51c..8207ff87d3 100644 --- a/video/img_format.h +++ b/video/img_format.h @@ -236,7 +236,7 @@ static inline bool IMGFMT_IS_RGB(int fmt) #define IMGFMT_RGB_DEPTH(fmt) (mp_imgfmt_get_desc(fmt).plane_bits) #define IMGFMT_IS_HWACCEL(fmt) (mp_imgfmt_get_desc(fmt).flags & MP_IMGFLAG_HWACCEL) -int mp_imgfmt_from_name(bstr name, bool allow_hwaccel); +int mp_imgfmt_from_name(bstr name); char *mp_imgfmt_to_name_buf(char *buf, size_t buf_size, int fmt); #define mp_imgfmt_to_name(fmt) mp_imgfmt_to_name_buf((char[16]){0}, 16, (fmt)) |