[vlc-commits] vlc_es: use define for es count

Francois Cartegnie git at videolan.org
Mon May 12 20:49:55 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun May 11 23:08:36 2014 +0200| [1f5843e627a73b6704d661d83a003c2697090b92] | committer: Francois Cartegnie

vlc_es: use define for es count

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

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

diff --git a/include/vlc_es.h b/include/vlc_es.h
index 9d631ac..5790d23 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -426,8 +426,8 @@ enum es_format_category_e
     AUDIO_ES,
     SPU_ES,
     NAV_ES,
-    ES_CATEGORY_COUNT
 };
+#define ES_CATEGORY_COUNT (NAV_ES + 1)
 
 /**
  * This function will fill all RGB shift from RGB masks.



More information about the vlc-commits mailing list