History

avcodec/filter: Remove extra '; ' outside of functions

They are not allowed outside of functions. Fixes the warning "ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]" when compiling with GCC and -pedantic.

Andreas Rheinhardt committed 7 years ago

Commit 361fb421 parent 0633d874 files · +10 −10Browse files

Showing the changes to libavfilter (3 of 4 files). Show all

Unified · Split

3 files
  1. libavfilter/vf_blend.c +5 −5
  2. libavfilter/vf_vmafmotion.c +2 −2
  3. libavfilter/x86/scene_sad_init.c +2 −2
libavfilter/vf_blend.c+5−5
@@ -639,11 +639,11 @@ static av_cold void init_blend_func_##depth##_##nbits##bit(FilterParams *param) · 638 unmodified lines
639639 case BLEND_XOR: param->blend = blend_xor_##depth##bit; break; \
640640 } \
641641 }
642−DEFINE_INIT_BLEND_FUNC(8, 8);
643−DEFINE_INIT_BLEND_FUNC(9, 16);
644−DEFINE_INIT_BLEND_FUNC(10, 16);
645−DEFINE_INIT_BLEND_FUNC(12, 16);
646−DEFINE_INIT_BLEND_FUNC(16, 16);
642+DEFINE_INIT_BLEND_FUNC(8, 8)
643+DEFINE_INIT_BLEND_FUNC(9, 16)
644+DEFINE_INIT_BLEND_FUNC(10, 16)
645+DEFINE_INIT_BLEND_FUNC(12, 16)
646+DEFINE_INIT_BLEND_FUNC(16, 16)
647647
648648 void ff_blend_init(FilterParams *param, int depth)
649649 {
libavfilter/vf_vmafmotion.c+2−2
@@ -176,8 +176,8 @@ static void convolution_y_##bits##bit(const uint16_t *filter, int filt_w, \ · 175 unmodified lines
176176 } \
177177 }
178178
179−conv_y_fn(uint8_t, 8);
180−conv_y_fn(uint16_t, 10);
179+conv_y_fn(uint8_t, 8)
180+conv_y_fn(uint16_t, 10)
181181
182182 static void vmafmotiondsp_init(VMAFMotionDSPContext *dsp, int bpp) {
183183 dsp->convolution_x = convolution_x;
libavfilter/x86/scene_sad_init.c+2−2
@@ -37,9 +37,9 @@ static void FUNC_NAME(SCENE_SAD_PARAMS) { \ · 36 unmodified lines
3737 }
3838
3939 #if HAVE_X86ASM
40−SCENE_SAD_FUNC(scene_sad_sse2, ff_scene_sad_sse2, 16);
40+SCENE_SAD_FUNC(scene_sad_sse2, ff_scene_sad_sse2, 16)
4141 #if HAVE_AVX2_EXTERNAL
42−SCENE_SAD_FUNC(scene_sad_avx2, ff_scene_sad_avx2, 32);
42+SCENE_SAD_FUNC(scene_sad_avx2, ff_scene_sad_avx2, 32)
4343 #endif
4444 #endif
4545

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t