]> 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:28 +0000 (14:43 -0500)
commitba30c8b6926c87e3d35c0de45470069c9115302f
treefa49b7b309ed1b28556fad2db8a85b140e570282
parenteaecccf25930d091f979721066363097f6d8403a
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