1 diff -r 1092c1a3ac50 media/libtheora/lib/decode.c
2 --- a/media/libtheora/lib/decode.c Tue May 08 08:53:50 2012 +0200
3 +++ b/media/libtheora/lib/decode.c Tue May 08 01:00:59 2012 -0700
4 @@ -395,20 +395,20 @@ static int oc_dec_init(oc_dec_ctx *_dec,
5 _dec->state.dequant_table_data[qi][pli][qti];
7 oc_dequant_tables_init(_dec->state.dequant_tables,_dec->pp_dc_scale,
12 for(qti=0;qti<2;qti++)for(pli=0;pli<3;pli++){
13 - qsum+=_dec->state.dequant_tables[qti][pli][qi][12]+
14 - _dec->state.dequant_tables[qti][pli][qi][17]+
15 - _dec->state.dequant_tables[qti][pli][qi][18]+
16 - _dec->state.dequant_tables[qti][pli][qi][24]<<(pli==0);
17 + qsum+=_dec->state.dequant_tables[qi][pli][qti][12]+
18 + _dec->state.dequant_tables[qi][pli][qti][17]+
19 + _dec->state.dequant_tables[qi][pli][qti][18]+
20 + _dec->state.dequant_tables[qi][pli][qti][24]<<(pli==0);
22 _dec->pp_sharp_mod[qi]=-(qsum>>11);
24 memcpy(_dec->state.loop_filter_limits,_setup->qinfo.loop_filter_limits,
25 sizeof(_dec->state.loop_filter_limits));
26 oc_dec_accel_init(_dec);
27 _dec->pp_level=OC_PP_LEVEL_DISABLED;