misc_update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@293 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-01-05 23:58:17 +00:00
parent 6adccbb30d
commit fabaf64c3c
2 changed files with 2 additions and 2 deletions

View 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 *~

View 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;