[xiph-commits] r14371 - trunk/theora/lib/dec
tterribe at svn.xiph.org
tterribe at svn.xiph.org
Sat Jan 5 15:36:46 PST 2008
Author: tterribe
Date: 2008-01-05 15:36:42 -0800 (Sat, 05 Jan 2008)
New Revision: 14371
Modified:
trunk/theora/lib/dec/decode.c
Log:
Silence const usage warning (this was in theora-exp but somehow missed getting
in mainline).
Modified: trunk/theora/lib/dec/decode.c
===================================================================
--- trunk/theora/lib/dec/decode.c 2008-01-05 23:16:39 UTC (rev 14370)
+++ trunk/theora/lib/dec/decode.c 2008-01-05 23:36:42 UTC (rev 14371)
@@ -163,7 +163,8 @@
int ret;
ret=oc_state_init(&_dec->state,_info);
if(ret<0)return ret;
- oc_huff_trees_copy(_dec->huff_tables,_setup->huff_tables);
+ oc_huff_trees_copy(_dec->huff_tables,
+ (const oc_huff_node *const *)_setup->huff_tables);
for(qti=0;qti<2;qti++)for(pli=0;pli<3;pli++){
_dec->state.dequant_tables[qti][pli]=
_dec->state.dequant_table_data[qti][pli];
More information about the commits
mailing list