Use ast_seekstream to return the file stream back to the beginning instead of directl...
authorJoshua Colp <jcolp@digium.com>
Mon, 15 Dec 2008 17:24:28 +0000 (17:24 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 15 Dec 2008 17:24:28 +0000 (17:24 +0000)
commitd330d3e210203a5270c8ef61be6a2ca484d99055
treea4da4e0b2d04196ad75ab59be3e6df85c09000a5
parent808a5fda59d7d81b11600e05bb0fd3ebdb09759f
Use ast_seekstream to return the file stream back to the beginning instead of directly seeking to zero. This is because some audio formats have headers at the front that need to be skipped, which will be done by the format module.
(closes issue #14079)
Reported by: elguero

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@164312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/file.c