[vlc-commits] ts_psi: store the ES category as an enum es_format_category_e

Steve Lhomme git at videolan.org
Fri Jul 7 19:33:17 CEST 2017


vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Wed Jul  5 17:09:16 2017 +0200| [88ff162a9ac7d96ecb8c3d2c92e3af641fdbf97f] | committer: Rémi Denis-Courmont

ts_psi: store the ES category as an enum es_format_category_e

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 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 8d22d41d31..587d5e0597 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  },



More information about the vlc-commits mailing list