From fcdb681822891dbd0f78b6f3dcfc7786de65c695 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 18 Jul 2013 13:49:28 +0200 Subject: img_format: add a mask for color class Using the term "color class" to avoid confusion with the other colorspace related concepts. Also get rid of MP_IMGFLAG_FMT_MASK, since it was unused. --- video/mp_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/mp_image.h') diff --git a/video/mp_image.h b/video/mp_image.h index 141483eedd..85595c5705 100644 --- a/video/mp_image.h +++ b/video/mp_image.h @@ -63,7 +63,7 @@ struct mp_image_params { * image data. mp_image_make_writeable() will do that copy if required. */ typedef struct mp_image { - unsigned int flags; + unsigned int flags; // same as fmt.flags struct mp_imgfmt_desc fmt; // fields redundant to fmt, for convenience or compatibility -- cgit v1.2.3