[vlc-commits] packetizer: iso_color_tables: fix return cast
Francois Cartegnie
git at videolan.org
Thu Oct 18 13:12:40 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Oct 18 09:42:08 2018 +0200| [7c98f6baaded723ded091b79e4cc89a2105a68ae] | committer: Thomas Guillem
packetizer: iso_color_tables: fix return cast
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7c98f6baaded723ded091b79e4cc89a2105a68ae
---
modules/packetizer/iso_color_tables.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/packetizer/iso_color_tables.h b/modules/packetizer/iso_color_tables.h
index de9c116570..2f0ba3d578 100644
--- a/modules/packetizer/iso_color_tables.h
+++ b/modules/packetizer/iso_color_tables.h
@@ -138,7 +138,7 @@ static inline enum iso_23001_8_tc vlc_xfer_to_iso_23001_8_tc( video_transfer_fun
{
for(size_t i=1; i<ARRAY_SIZE(iso_23001_8_tc_to_vlc_xfer_table); i++)
if(iso_23001_8_tc_to_vlc_xfer_table[i] == v)
- return (enum iso_23001_8_cp) i;
+ return (enum iso_23001_8_tc) i;
return ISO_23001_8_TC_UNSPECIFIED;
}
@@ -191,7 +191,7 @@ static inline enum iso_23001_8_mc vlc_coeffs_to_iso_23001_8_mc( video_color_spac
{
for(size_t i=1; i<ARRAY_SIZE(iso_23001_8_mc_to_vlc_coeffs_table); i++)
if(iso_23001_8_mc_to_vlc_coeffs_table[i] == v)
- return (enum iso_23001_8_cp) i;
+ return (enum iso_23001_8_mc) i;
return ISO_23001_8_MC_UNSPECIFIED;
}
More information about the vlc-commits
mailing list