]> git.ipfire.org Git - thirdparty/asterisk.git/commit
format_pcm: Track actual header size of .au files
authorSean Bright <sean.bright@gmail.com>
Fri, 14 Apr 2017 19:36:57 +0000 (15:36 -0400)
committerSean Bright <sean.bright@gmail.com>
Fri, 14 Apr 2017 19:43:12 +0000 (15:43 -0400)
commitac15ebc3798e31fb6c89a5de514e75ad28005de6
tree711ea624b3b215af3f6ad99d12c56ae6a275a08d
parent5e2a8ef94ad573f83a65b4d37b4f34ac947c07a2
format_pcm: Track actual header size of .au files

Sun's Au file format has a minimum data offset 24 bytes, but this
offset is encoded in each .au file. Instead of assuming the minimum,
read the actual value and store it for later use.

ASTERISK-20984 #close
Reported by: Roman S.
Patches:
asterisk-1.8.20.0-au-clicks-2.diff (license #6474) patch
uploaded by Roman S.

Change-Id: I524022fb19ff2fd5af2cc2d669d27a780ab2057c
formats/format_pcm.c