avfilter/af_bs2b: Fix incompatible pointer type warnings
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 5 May 2014 23:01:02 +0000 (01:01 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 5 May 2014 23:01:02 +0000 (01:01 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/af_bs2b.c

index 5c8e8e5..3dd0bcd 100644 (file)
@@ -168,16 +168,16 @@ static int config_output(AVFilterLink *outlink)
         bs2b->filter = bs2b_cross_feed_u8;
         break;
     case AV_SAMPLE_FMT_S16:
-        bs2b->filter = bs2b_cross_feed_s16;
+        bs2b->filter = (void*)bs2b_cross_feed_s16;
         break;
     case AV_SAMPLE_FMT_S32:
-        bs2b->filter = bs2b_cross_feed_s32;
+        bs2b->filter = (void*)bs2b_cross_feed_s32;
         break;
     case AV_SAMPLE_FMT_FLT:
-        bs2b->filter = bs2b_cross_feed_f;
+        bs2b->filter = (void*)bs2b_cross_feed_f;
         break;
     case AV_SAMPLE_FMT_DBL:
-        bs2b->filter = bs2b_cross_feed_d;
+        bs2b->filter = (void*)bs2b_cross_feed_d;
         break;
     default:
         return AVERROR_BUG;