[vlc-commits] codec: cc: name enum type

Francois Cartegnie git at videolan.org
Thu Nov 17 18:05:39 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Nov 16 20:48:11 2016 +0100| [9d1754b9de248025e52f2fdbc02fe1127bc9df28] | committer: Francois Cartegnie

codec: cc: name enum type

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

 modules/codec/cc.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/cc.h b/modules/codec/cc.h
index a62d176..f9c6170 100644
--- a/modules/codec/cc.h
+++ b/modules/codec/cc.h
@@ -32,7 +32,7 @@
 
 /* CC have a maximum rate of 9600 bit/s (per field?) */
 #define CC_MAX_DATA_SIZE (2 * 3*600)
-enum
+enum cc_payload_type_e
 {
     CC_PAYLOAD_NONE,
     CC_PAYLOAD_GA94,
@@ -49,7 +49,7 @@ typedef struct
     bool b_reorder;
 
     /* */
-    int i_payload_type;
+    enum cc_payload_type_e i_payload_type;
     int i_payload_other_count;
 
     /* CC data per field



More information about the vlc-commits mailing list