]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
misc_update
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 5 Jan 2006 23:58:17 +0000 (23:58 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 5 Jan 2006 23:58:17 +0000 (23:58 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@293 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/codecs/mod_codec_g729/Makefile
src/mod/codecs/mod_rawaudio/mod_rawaudio.c

index 3b9afa36ac30d57ec65bf5b20dfae692792db64f..5ee080cbc979f61132b465dcea4da2ba7d653da8 100644 (file)
@@ -8,7 +8,7 @@ depends:
 
 $(MODNAME).so: $(MODNAME).c
        $(CC) $(CFLAGS) -fPIC -c $(MODNAME).c -o $(MODNAME).o
-       $(CC) $(SOLINK) $(MODNAME).o -o $(MODNAME).so $(LDFLAGS) -lspeex
+       $(CC) $(SOLINK) $(MODNAME).o -o $(MODNAME).so $(LDFLAGS)
 
 clean:
        rm -fr *.so *.o *~
index 7dca8096a4d898a4883b920570d4d1df41ef6a20..13933bae8792749845708b1e87142f92f7d7c973 100644 (file)
@@ -62,7 +62,7 @@ static switch_status switch_raw_encode(switch_codec *codec,
 {
 
        /* NOOP indicates that the audio in is already the same as the audio out, so no conversion was necessary.*/
-       if (decoded_rate != codec->implementation->samples_per_second) {
+       if (decoded_rate != other_codec->implementation->samples_per_second) {
                memcpy(encoded_data, decoded_data, decoded_data_len);
                *encoded_data_len = decoded_data_len;
                return SWITCH_STATUS_RESAMPLE;