mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
avfilter/vf_convolution: Fix compilation with sobel disabled
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -119,7 +119,7 @@ static void filter16_sobel(uint8_t *dstp, int width,
|
||||
}
|
||||
}
|
||||
|
||||
static av_unused void ff_sobel_init(ConvolutionContext *s, int depth, int nb_planes)
|
||||
static inline void ff_sobel_init(ConvolutionContext *s, int depth, int nb_planes)
|
||||
{
|
||||
for (int i = 0; i < 4; i++) {
|
||||
s->filter[i] = filter_sobel;
|
||||
|
||||
Reference in New Issue
Block a user