]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_bm3d.c
lavfi/Makefile: Fix bwdif filter standalone compilation.
[ffmpeg] / libavfilter / vf_bm3d.c
index 8a5ae702996d0fbff4392d52a32e2ef7bc8e576e..75c356728e222035351992ecabf79b822d7615e0 100644 (file)
@@ -688,7 +688,7 @@ static void do_output16(BM3DContext *s, uint8_t *dst, int dst_linesize,
                 sum_den += den;
             }
 
-            dstp[j] = av_clip_uintp2(sum_num / sum_den, depth);
+            dstp[j] = av_clip_uintp2_c(sum_num / sum_den, depth);
         }
     }
 }