[vlc-commits] demux: subtitle: use subtitle enum type
Francois Cartegnie
git at videolan.org
Tue Jan 24 15:42:04 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jan 24 14:56:57 2017 +0100| [bdcb125e63c025d3bc9bd9af3557da2ea7cc1410] | committer: Francois Cartegnie
demux: subtitle: use subtitle enum type
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bdcb125e63c025d3bc9bd9af3557da2ea7cc1410
---
modules/demux/subtitle.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/subtitle.c b/modules/demux/subtitle.c
index ed2d60f..da8b8f8 100644
--- a/modules/demux/subtitle.c
+++ b/modules/demux/subtitle.c
@@ -94,7 +94,7 @@ vlc_module_end ()
/*****************************************************************************
* Prototypes:
*****************************************************************************/
-enum
+enum subtitle_type_e
{
SUB_TYPE_UNKNOWN = -1,
SUB_TYPE_MICRODVD,
@@ -140,7 +140,7 @@ typedef struct
typedef struct
{
- int i_type;
+ enum subtitle_type_e i_type;
int64_t i_microsecperframe;
char *psz_header; /* SSA */
More information about the vlc-commits
mailing list