[vlc-commits] vlc_es: define ORIENT_MAX

Alexandre Janniaux git at videolan.org
Thu Jan 28 11:10:25 UTC 2021


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Mon Jan 25 11:00:25 2021 +0100| [90feff25c89ba3bfe2c38f6ce895a74d08c1b4a8] | committer: Alexandre Janniaux

vlc_es: define ORIENT_MAX

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=90feff25c89ba3bfe2c38f6ce895a74d08c1b4a8
---

 include/vlc_es.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vlc_es.h b/include/vlc_es.h
index 404a937d83..193c61bff6 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -184,6 +184,7 @@ typedef enum video_orientation_t
     ORIENT_LEFT_BOTTOM, /**< Rotated 90 degrees anti-clockwise */
     ORIENT_RIGHT_TOP, /**< Rotated 90 degrees clockwise */
     ORIENT_RIGHT_BOTTOM, /**< Anti-transposed */
+#define ORIENT_MAX ((size_t)ORIENT_RIGHT_BOTTOM)
 
     ORIENT_NORMAL      = ORIENT_TOP_LEFT,
     ORIENT_TRANSPOSED  = ORIENT_LEFT_TOP,



More information about the vlc-commits mailing list