1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

avfilter/af_bs2b: Fix incompatible pointer type warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-05-06 01:01:02 +02:00
parent 89d2fc62db
commit 5fc4c00972

View File

@ -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;