Fix error that caused truncate operations to fail
authorMatthew Jordan <mjordan@digium.com>
Sun, 29 Apr 2012 19:50:57 +0000 (19:50 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sun, 29 Apr 2012 19:50:57 +0000 (19:50 +0000)
commit60d9ca687cae3506d6c4f25982ff803acd3fb879
tree25cb1c0ebdd9b1540dde54e24a324b341d3a2ae4
parent2cbcbc7f6b222cca3e805d37c2c6ab73bce6b6d1
Fix error that caused truncate operations to fail

Another very inappropriate placement of a ')' (again introduced in r362151)
caused the various truncate operations to attempt to truncate the sound file
at a position of '0'.

(issue ASTERISK-19655)
Reported by: Matt Jordan

(issue ASTERISK-19810)
Reported by: colbec
........

Merged revisions 364578 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 364579 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@364580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
14 files changed:
formats/format_g719.c
formats/format_g723.c
formats/format_g729.c
formats/format_gsm.c
formats/format_h263.c
formats/format_h264.c
formats/format_ilbc.c
formats/format_pcm.c
formats/format_siren14.c
formats/format_siren7.c
formats/format_sln.c
formats/format_vox.c
formats/format_wav.c
formats/format_wav_gsm.c