Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -18,6 +18,7 @@ · 17 unmodified lines | |||
| 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #include "libavutil/avassert.h" | ||
| 21 | #include "libavutil/channel_layout.h" | 22 | #include "libavutil/channel_layout.h" |
| 22 | #include "libavutil/opt.h" | 23 | #include "libavutil/opt.h" |
| 23 | #include "avfilter.h" | 24 | #include "avfilter.h" |
| @@ -162,6 +163,8 @@ static void filter_flt(ASoftClipContext *s, · 138 unmodified lines | |||
| 162 | dst[n] = erff(src[n]); | 163 | dst[n] = erff(src[n]); |
| 163 | } | 164 | } |
| 164 | break; | 165 | break; |
| 166 | default: | ||
| 167 | av_assert0(0); | ||
| 165 | } | 168 | } |
| 166 | } | 169 | } |
| 167 | } | 170 | } |
| @@ -229,6 +232,8 @@ static void filter_dbl(ASoftClipContext *s, · 61 unmodified lines | |||
| 229 | dst[n] = erf(src[n]); | 232 | dst[n] = erf(src[n]); |
| 230 | } | 233 | } |
| 231 | break; | 234 | break; |
| 235 | default: | ||
| 236 | av_assert0(0); | ||
| 232 | } | 237 | } |
| 233 | } | 238 | } |
| 234 | } | 239 | } |
| @@ -243,6 +248,7 @@ static int config_input(AVFilterLink *inlink) · 8 unmodified lines | |||
| 243 | case AV_SAMPLE_FMT_FLTP: s->filter = filter_flt; break; | 248 | case AV_SAMPLE_FMT_FLTP: s->filter = filter_flt; break; |
| 244 | case AV_SAMPLE_FMT_DBL: | 249 | case AV_SAMPLE_FMT_DBL: |
| 245 | case AV_SAMPLE_FMT_DBLP: s->filter = filter_dbl; break; | 250 | case AV_SAMPLE_FMT_DBLP: s->filter = filter_dbl; break; |
| 251 | default: av_assert0(0); | ||
| 246 | } | 252 | } |
| 247 | 253 | ||
| 248 | return 0; | 254 | return 0; |