Commit 5fc4c009 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/af_bs2b: Fix incompatible pointer type warnings

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 89d2fc62
...@@ -168,16 +168,16 @@ static int config_output(AVFilterLink *outlink) ...@@ -168,16 +168,16 @@ static int config_output(AVFilterLink *outlink)
bs2b->filter = bs2b_cross_feed_u8; bs2b->filter = bs2b_cross_feed_u8;
break; break;
case AV_SAMPLE_FMT_S16: case AV_SAMPLE_FMT_S16:
bs2b->filter = bs2b_cross_feed_s16; bs2b->filter = (void*)bs2b_cross_feed_s16;
break; break;
case AV_SAMPLE_FMT_S32: case AV_SAMPLE_FMT_S32:
bs2b->filter = bs2b_cross_feed_s32; bs2b->filter = (void*)bs2b_cross_feed_s32;
break; break;
case AV_SAMPLE_FMT_FLT: case AV_SAMPLE_FMT_FLT:
bs2b->filter = bs2b_cross_feed_f; bs2b->filter = (void*)bs2b_cross_feed_f;
break; break;
case AV_SAMPLE_FMT_DBL: case AV_SAMPLE_FMT_DBL:
bs2b->filter = bs2b_cross_feed_d; bs2b->filter = (void*)bs2b_cross_feed_d;
break; break;
default: default:
return AVERROR_BUG; return AVERROR_BUG;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment