diff options
author | Ben Avison | 2014-04-16 01:51:31 +0100 |
---|---|---|
committer | Michael Niedermayer | 2014-04-25 02:35:56 +0200 |
commit | 270cede3f3772117454a14b620803d731036942d (patch) | |
tree | f8cf2f6e0999e71379d555913a3b23de27a09fc4 /libavcodec/arm/h264dsp_init_arm.c | |
parent | e148a5820dc5e7077f519d091b5e1ff2a5b23665 (diff) |
h264: Move search code search functions into separate source files.
This permits re-use with parsers for codecs which use similar start codes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/arm/h264dsp_init_arm.c')
-rw-r--r-- | libavcodec/arm/h264dsp_init_arm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/arm/h264dsp_init_arm.c b/libavcodec/arm/h264dsp_init_arm.c index a0418fd5c7..eb6c514727 100644 --- a/libavcodec/arm/h264dsp_init_arm.c +++ b/libavcodec/arm/h264dsp_init_arm.c @@ -24,7 +24,7 @@ #include "libavutil/arm/cpu.h" #include "libavcodec/h264dsp.h" -int ff_h264_find_start_code_candidate_armv6(const uint8_t *buf, int size); +int ff_startcode_find_candidate_armv6(const uint8_t *buf, int size); void ff_h264_v_loop_filter_luma_neon(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0); @@ -109,7 +109,7 @@ av_cold void ff_h264dsp_init_arm(H264DSPContext *c, const int bit_depth, int cpu_flags = av_get_cpu_flags(); if (have_armv6(cpu_flags)) - c->h264_find_start_code_candidate = ff_h264_find_start_code_candidate_armv6; + c->h264_find_start_code_candidate = ff_startcode_find_candidate_armv6; if (have_neon(cpu_flags)) h264dsp_init_neon(c, bit_depth, chroma_format_idc); } |