diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index 8d22d41d319fec4ff15d2302d7dc288ea21c7852..587d5e0597c9d121a65c2e200edaf64eb8342a03 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -1203,9 +1203,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  },