lavc/arm: Use the neon vertical chroma loop filter also for H.264 4:2:2.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 31 Jan 2015 09:05:24 +0000 (10:05 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 31 Jan 2015 09:05:24 +0000 (10:05 +0100)
libavcodec/arm/h264dsp_init_arm.c

index 88dfd75..90144d0 100644 (file)
@@ -76,8 +76,8 @@ static av_cold void h264dsp_init_neon(H264DSPContext *c, const int bit_depth,
     if (bit_depth == 8) {
         c->h264_v_loop_filter_luma   = ff_h264_v_loop_filter_luma_neon;
         c->h264_h_loop_filter_luma   = ff_h264_h_loop_filter_luma_neon;
-        if(chroma_format_idc == 1){
         c->h264_v_loop_filter_chroma = ff_h264_v_loop_filter_chroma_neon;
+        if(chroma_format_idc == 1){
         c->h264_h_loop_filter_chroma = ff_h264_h_loop_filter_chroma_neon;
         }