From 35acee194f3330efbe5796929603e1c4ab628d42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 3 Nov 2008 08:55:49 +0000 Subject: [PATCH] gst/speexresample/gstspeexresample.c: Add TODO at the top of the file for enabling SSE/ARM specific optimizations and... Original commit message from CVS: * gst/speexresample/gstspeexresample.c: (gst_speex_resample_convert_buffer): Add TODO at the top of the file for enabling SSE/ARM specific optimizations and choosing the fastest implementation at runtime. Add g_assert_not_reached() at two places that should really never be reached. --- gst/speexresample/gstspeexresample.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gst/speexresample/gstspeexresample.c b/gst/speexresample/gstspeexresample.c index 84057e642f..010991d68b 100644 --- a/gst/speexresample/gstspeexresample.c +++ b/gst/speexresample/gstspeexresample.c @@ -34,6 +34,10 @@ * */ +/* TODO: + * - Enable SSE/ARM optimizations and select at runtime + */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -640,6 +644,8 @@ gst_speex_resample_convert_buffer (GstSpeexResample * resample, i++; len--; } + } else { + g_assert_not_reached (); } } else { if (gst_speex_resample_use_int && resample->width == 8 && !resample->fp) { @@ -708,6 +714,8 @@ gst_speex_resample_convert_buffer (GstSpeexResample * resample, i++; len--; } + } else { + g_assert_not_reached (); } } }