Browse code

hevc: Use get_se_golomb_long

Do not use inline functions that refer to tables present in other
libraries.

(cherry picked from commit ee17be3fdd37f63f4b77676820e387858908b0f4)

Luca Barbato authored on 2014/03/10 18:59:48
Showing 1 changed files
... ...
@@ -402,10 +402,10 @@ static void skip_scaling_list_data(GetBitContext *gb)
402 402
                 num_coeffs = FFMIN(64, 1 << (4 + (i << 1)));
403 403
 
404 404
                 if (i > 1)
405
-                    get_se_golomb(gb); // scaling_list_dc_coef_minus8[i-2][j]
405
+                    get_se_golomb_long(gb); // scaling_list_dc_coef_minus8[i-2][j]
406 406
 
407 407
                 for (k = 0; k < num_coeffs; k++)
408
-                    get_se_golomb(gb); // scaling_list_delta_coef
408
+                    get_se_golomb_long(gb); // scaling_list_delta_coef
409 409
             }
410 410
 }
411 411
 
... ...
@@ -593,7 +593,7 @@ static int hvcc_parse_pps(GetBitContext *gb,
593 593
 
594 594
     get_ue_golomb_long(gb); // num_ref_idx_l0_default_active_minus1
595 595
     get_ue_golomb_long(gb); // num_ref_idx_l1_default_active_minus1
596
-    get_se_golomb     (gb); // init_qp_minus26
596
+    get_se_golomb_long(gb); // init_qp_minus26
597 597
 
598 598
     /*
599 599
      * constrained_intra_pred_flag u(1)
... ...
@@ -604,8 +604,8 @@ static int hvcc_parse_pps(GetBitContext *gb,
604 604
     if (get_bits1(gb))          // cu_qp_delta_enabled_flag
605 605
         get_ue_golomb_long(gb); // diff_cu_qp_delta_depth
606 606
 
607
-    get_se_golomb(gb); // pps_cb_qp_offset
608
-    get_se_golomb(gb); // pps_cr_qp_offset
607
+    get_se_golomb_long(gb); // pps_cb_qp_offset
608
+    get_se_golomb_long(gb); // pps_cr_qp_offset
609 609
 
610 610
     /*
611 611
      * weighted_pred_flag               u(1)