From 4d10e817b5ea12aefa15ebe7d892d81697c2cfed Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Fri, 2 Oct 2015 12:37:20 -0700 Subject: Distcheck fixes. Add more speex files to the distribution. Comment out a for-now-unused variable. Change-Id: Iea3a0fad81e2cb599209e1c30ecbdbdb153d1328 Reviewed-on: https://code.wireshark.org/review/10749 Reviewed-by: Gerald Combs --- ui/qt/rtp_audio_stream.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui') diff --git a/ui/qt/rtp_audio_stream.cpp b/ui/qt/rtp_audio_stream.cpp index f3285320fd..ad72e52005 100644 --- a/ui/qt/rtp_audio_stream.cpp +++ b/ui/qt/rtp_audio_stream.cpp @@ -129,7 +129,6 @@ void RtpAudioStream::addRtpPacket(const struct _packet_info *pinfo, const _rtp_i // Combination of gtk/rtp_player.c:decode_rtp_stream + decode_rtp_packet // XXX This is more messy than it should be. - size_t decoded_bytes; SAMPLE *decode_buff = NULL; SAMPLE *resample_buff = NULL; spx_uint32_t cur_in_rate, visual_out_rate; @@ -162,7 +161,8 @@ void RtpAudioStream::addRtpPacket(const struct _packet_info *pinfo, const _rtp_i rtp_packet.payload_data = NULL; } - decoded_bytes = decode_rtp_packet(&rtp_packet, &decode_buff, decoders_hash_, &channels, &sample_rate); + //size_t decoded_bytes = + decode_rtp_packet(&rtp_packet, &decode_buff, decoders_hash_, &channels, &sample_rate); write_buff = (char *) decode_buff; write_bytes = rtp_info->info_payload_len * sample_bytes_; -- cgit v1.2.1