diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2016-10-05 05:07:52 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2016-10-05 07:09:00 +0300 |
commit | 386883179a68467ec35dd1c481100ad5915081f0 (patch) | |
tree | 66eec7a977ae7b38f997b94561b1e6084fa9fc67 /src/opus_demo.c | |
parent | ae5f5cc1c5d9919cc66efec2eea97f673228da44 (diff) |
Fixing some opus_int vs opus_int32 mismatches
Reported by Mark Warner.
Diffstat (limited to 'src/opus_demo.c')
-rw-r--r-- | src/opus_demo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_demo.c b/src/opus_demo.c index a330bb54..c8135c2e 100644 --- a/src/opus_demo.c +++ b/src/opus_demo.c @@ -765,7 +765,7 @@ int main(int argc, char *argv[]) } tot_samples += nb_encoded; } else { - int output_samples; + opus_int32 output_samples; lost = len[toggle]==0 || (packet_loss_perc>0 && rand()%100 < packet_loss_perc); if (lost) opus_decoder_ctl(dec, OPUS_GET_LAST_PACKET_DURATION(&output_samples)); |