diff options
author | Peter Wu <peter@lekensteyn.nl> | 2016-11-24 00:27:14 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2016-12-06 17:51:47 +0000 |
commit | f5e22a14877922aa7b907d2e434958c86efd6875 (patch) | |
tree | 33439d1a8cd3322faa9ce8b0f6b12a08427d47fb /tools/win-setup.ps1 | |
parent | d8cdb550445a1bc86626bd9d45da1ce958d1592b (diff) | |
download | wireshark-f5e22a14877922aa7b907d2e434958c86efd6875.tar.gz |
codecs: Add support for G.722 and G.726
Integrate the Spandsp library for G.722 and G.726 support. Adds support
for G.722 and all eight variants of G.726.
Note: this also fixes a crash in Qt (buffer overrun, reading too much
data) caused by confusion of the larger output buffer (resample_buff)
with the smaller input buffer (decode_buff). It was not triggered before
because the sample rate was always 8k, but with the addition of the new
codecs, a different sample rate became possible (16k).
Fix also a crash which occurs when the RTP_STREAM_DEBUG macro is enabled
and the VOIP Calls dialog is opened (the begin frame, start_fd, is not
yet known and therfore a NULL dereference could occur).
Passes testing (plays normally without bad RTP timing errors) with
SampleCaptures files: sip-rtp-g722.pcap and sip-rtp-g726.pcap. Tested
with cmake (Qt), autotools (Qt and GTK+) with ASAN enabled.
Bug: 5619
Change-Id: I5661908d193927bba50901079119eeff0c04991f
Reviewed-on: https://code.wireshark.org/review/18939
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'tools/win-setup.ps1')
-rw-r--r-- | tools/win-setup.ps1 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/win-setup.ps1 b/tools/win-setup.ps1 index de3710ebe0..9432864887 100644 --- a/tools/win-setup.ps1 +++ b/tools/win-setup.ps1 @@ -99,8 +99,8 @@ Param( # trouble instead of trying to catch exceptions everywhere. $ErrorActionPreference = "Stop" -$Win64CurrentTag = "2016-10-26" -$Win32CurrentTag = "2016-10-26" +$Win64CurrentTag = "2016-11-29" +$Win32CurrentTag = "2016-11-29" # Archive file / subdir. $Win64Archives = @{ @@ -119,6 +119,7 @@ $Win64Archives = @{ "portaudio_v19_2.zip" = ""; "sbc-1.3-win64ws.zip" = ""; "snappy-1.1.3-win64ws.zip" = ""; + "spandsp-0.0.6-win64ws.zip" = ""; "upx303w.zip" = ""; "WinSparkle-0.3-44-g2c8d9d3-win64ws.zip" = ""; "WpdPack_4_1_2.zip" = ""; @@ -141,6 +142,7 @@ $Win32Archives = @{ "portaudio_v19_2.zip" = ""; "sbc-1.3-win32ws.zip" = ""; "snappy-1.1.3-win32ws.zip" = ""; + "spandsp-0.0.6-win32ws.zip" = ""; "upx303w.zip" = ""; "WinSparkle-0.3-44-g2c8d9d3-win32ws.zip" = ""; "WpdPack_4_1_2.zip" = ""; @@ -191,6 +193,7 @@ $CleanupItems = @( "portaudio_v19_2" "sbc-1.3-win??ws" "snappy-1.1.3-win??ws" + "spandsp-0.0.6-win??ws" "upx301w" "upx303w" "user-guide" |