[vlc-commits] packetizer: use the proper return types in the ISO tables

Steve Lhomme git at videolan.org
Wed Dec 12 12:45:38 CET 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Dec 12 12:19:32 2018 +0100| [9290f0fb444f4e6f5474737b9d74297ce1b9fa97] | committer: Steve Lhomme

packetizer: use the proper return types in the ISO tables

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

 modules/packetizer/iso_color_tables.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/packetizer/iso_color_tables.h b/modules/packetizer/iso_color_tables.h
index 2f0ba3d578..1371f41f40 100644
--- a/modules/packetizer/iso_color_tables.h
+++ b/modules/packetizer/iso_color_tables.h
@@ -43,7 +43,7 @@ enum iso_23001_8_cp
     ISO_23001_8_CP_EBU_3213 = 22,
 };
 
-static const uint8_t iso_23001_8_cp_to_vlc_primaries_table[] =
+static const video_color_primaries_t iso_23001_8_cp_to_vlc_primaries_table[] =
 {
     [0]                             = COLOR_PRIMARIES_UNDEF,
     [ISO_23001_8_CP_BT_709]         = COLOR_PRIMARIES_BT709,
@@ -104,7 +104,7 @@ enum iso_23001_8_tc
     ISO_23001_8_TC_HLG /* BT.2100 HLG, ARIB STD-B67 */
 };
 
-static const uint8_t iso_23001_8_tc_to_vlc_xfer_table[] =
+static const video_transfer_func_t iso_23001_8_tc_to_vlc_xfer_table[] =
 {
     [ISO_23001_8_TC_RESERVED_0]     = TRANSFER_FUNC_UNDEF,
     [ISO_23001_8_TC_BT_709]         = TRANSFER_FUNC_BT709,
@@ -161,7 +161,7 @@ enum iso_23001_8_mc
     ISO_23001_8_MC_ICTCP,
 };
 
-static const uint8_t iso_23001_8_mc_to_vlc_coeffs_table[] =
+static const video_color_space_t iso_23001_8_mc_to_vlc_coeffs_table[] =
 {
     [ISO_23001_8_MC_IDENTITY]    = COLOR_SPACE_UNDEF,
     [ISO_23001_8_MC_BT_709]      = COLOR_SPACE_BT709,



More information about the vlc-commits mailing list