Browse Source

avfilter/vf_bm3d: use av_clip_uintp2_c where clip is variable

tags/n4.1
Paul B Mahol 7 years ago
parent
commit
e320f9576a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_bm3d.c

+ 1
- 1
libavfilter/vf_bm3d.c View 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);
}
}
}


Loading…
Cancel
Save