[vlc-devel] [PATCH 3/8] ts_psi: store the ES category as an enum es_format_category_e

Steve Lhomme robux4 at videolabs.io
Wed Jul 5 17:09:16 CEST 2017


---
 modules/demux/mpeg/ts_psi.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index c945d51baf..be19e1514c 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -1219,9 +1219,9 @@ static bool PMTSetupEsRegistration( demux_t *p_demux, ts_es_t *p_es,
 {
     static const struct
     {
-        char         psz_tag[5];
-        int          i_cat;
-        vlc_fourcc_t i_codec;
+        char                      psz_tag[5];
+        enum es_format_category_e i_cat;
+        vlc_fourcc_t              i_codec;
     } p_regs[] = {
         { "AC-3", AUDIO_ES, VLC_CODEC_A52   },
         { "EAC3", AUDIO_ES, VLC_CODEC_EAC3  },
-- 
2.12.1



More information about the vlc-devel mailing list