diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index b93851c6ae..2bcc3ee339 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -463,7 +463,6 @@ static void add_pixels8_c(uint8_t *av_restrict pixels, } } - static void add_pixels_clamped_c(const int16_t *block, uint8_t *av_restrict pixels, int line_size) { @@ -2902,7 +2901,7 @@ av_cold void ff_dsputil_init(DSPContext* c, AVCodecContext *avctx) c->get_pixels = FUNCC(get_pixels ## dct , depth);\ c->draw_edges = FUNCC(draw_edges , depth);\ c->clear_block = FUNCC(clear_block ## dct , depth);\ - c->clear_blocks = FUNCC(clear_blocks ## dct , depth) + c->clear_blocks = FUNCC(clear_blocks ## dct , depth);\ switch (avctx->bits_per_raw_sample) { case 9: diff --git a/libavcodec/h264.c b/libavcodec/h264.c index ec709760e4..e854ded6c9 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2216,7 +2216,7 @@ static av_always_inline void hl_decode_mb_predict_luma(H264Context *h, } else { if (transform_bypass) { idct_dc_add = - idct_add = h->h264dsp.h264_add_pixels4_clear; + idct_add = h->h264dsp.h264_add_pixels4_clear; } else { idct_dc_add = h->h264dsp.h264_idct_dc_add; idct_add = h->h264dsp.h264_idct_add;