Changeset 5916 for pjproject


Ignore:
Timestamp:
Nov 26, 2018 12:57:54 AM (6 years ago)
Author:
ming
Message:

Re #2147 (misc): Fixed incorrect typecast in Speex resampler. Thanks to Sebastian Marek for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/resample_speex.c

    r3553 r5916  
    9696 
    9797    speex_resampler_process_interleaved_int(resample->state, 
    98                                             (const __int16 *)input, &in_length, 
    99                                             (__int16 *)output, &out_length); 
     98                                            (const spx_int16_t *)input, 
     99                                            &in_length, (spx_int16_t *)output, 
     100                                            &out_length); 
    100101 
    101102    pj_assert(in_length == resample->in_samples_per_frame); 
Note: See TracChangeset for help on using the changeset viewer.