Commit b37c3396 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/h264: Add ff_ prefix to the shared h264_init_dequant_tables() function

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 60bdc868
...@@ -467,7 +467,7 @@ int ff_h264_alloc_tables(H264Context *h) ...@@ -467,7 +467,7 @@ int ff_h264_alloc_tables(H264Context *h)
} }
if (!h->dequant4_coeff[0]) if (!h->dequant4_coeff[0])
h264_init_dequant_tables(h); ff_h264_init_dequant_tables(h);
if (!h->DPB) { if (!h->DPB) {
h->DPB = av_mallocz_array(H264_MAX_PICTURE_COUNT, sizeof(*h->DPB)); h->DPB = av_mallocz_array(H264_MAX_PICTURE_COUNT, sizeof(*h->DPB));
......
...@@ -866,7 +866,7 @@ int ff_h264_decode_mb_cabac(H264Context *h); ...@@ -866,7 +866,7 @@ int ff_h264_decode_mb_cabac(H264Context *h);
void ff_h264_init_cabac_states(H264Context *h); void ff_h264_init_cabac_states(H264Context *h);
void h264_init_dequant_tables(H264Context *h); void ff_h264_init_dequant_tables(H264Context *h);
void ff_h264_direct_dist_scale_factor(H264Context *const h); void ff_h264_direct_dist_scale_factor(H264Context *const h);
void ff_h264_direct_ref_list_init(H264Context *const h); void ff_h264_direct_ref_list_init(H264Context *const h);
......
...@@ -362,7 +362,7 @@ static void init_dequant4_coeff_table(H264Context *h) ...@@ -362,7 +362,7 @@ static void init_dequant4_coeff_table(H264Context *h)
} }
} }
void h264_init_dequant_tables(H264Context *h) void ff_h264_init_dequant_tables(H264Context *h)
{ {
int i, x; int i, x;
init_dequant4_coeff_table(h); init_dequant4_coeff_table(h);
...@@ -1499,7 +1499,7 @@ int ff_h264_decode_slice_header(H264Context *h, H264Context *h0) ...@@ -1499,7 +1499,7 @@ int ff_h264_decode_slice_header(H264Context *h, H264Context *h0)
if (first_slice && h->dequant_coeff_pps != pps_id) { if (first_slice && h->dequant_coeff_pps != pps_id) {
h->dequant_coeff_pps = pps_id; h->dequant_coeff_pps = pps_id;
h264_init_dequant_tables(h); ff_h264_init_dequant_tables(h);
} }
frame_num = get_bits(&h->gb, h->sps.log2_max_frame_num); frame_num = get_bits(&h->gb, h->sps.log2_max_frame_num);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment