X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=sound%2Fcore%2Foss%2Froute.c;h=a33764fd6de95adde49f5c724a192d5935dbbfab;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=fadc265a0cc5990f217b9b5e0ca8a10cef6074d8;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/sound/core/oss/route.c b/sound/core/oss/route.c index fadc265a0..a33764fd6 100644 --- a/sound/core/oss/route.c +++ b/sound/core/oss/route.c @@ -95,7 +95,7 @@ static void route_to_channel_from_one(snd_pcm_plugin_t *plugin, #undef CONV_LABELS route_t *data = (route_t *)plugin->extra_data; void *conv; - const snd_pcm_plugin_channel_t *src_channel = 0; + const snd_pcm_plugin_channel_t *src_channel = NULL; unsigned int srcidx; char *src, *dst; int src_step, dst_step; @@ -149,11 +149,11 @@ static void route_to_channel(snd_pcm_plugin_t *plugin, #endif }; /* sum_type att shift */ - static void *norm_labels[3 * 2 * 4] = { 0, + static void *norm_labels[3 * 2 * 4] = { NULL, &&norm_int32_8_noatt, &&norm_int32_16_noatt, &&norm_int32_24_noatt, - 0, + NULL, &&norm_int32_8_att, &&norm_int32_16_att, &&norm_int32_24_att, @@ -462,7 +462,7 @@ static int route_load_ttable(snd_pcm_plugin_t *plugin, for(srcidx = 0; srcidx < nsrcs; srcidx++) dptr->srcs[srcidx] = srcs[srcidx]; } else - dptr->srcs = 0; + dptr->srcs = NULL; dptr++; } return 0;