aboutsummaryrefslogtreecommitdiffstats
path: root/formats/format_pcm_alaw.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-05 20:53:21 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-05 20:53:21 +0000
commit009f7b220fd156affa4f9b3adb6153200c69910a (patch)
tree9a117e876b1e137a1fc8a4d437312f8f800bf252 /formats/format_pcm_alaw.c
parenta35b84bd064e72c1e1718398ace4e2610383093b (diff)
Merged revisions 7819 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7819 | kpfleming | 2006-01-05 14:52:38 -0600 (Thu, 05 Jan 2006) | 2 lines ensure that variable is initialized ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7820 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'formats/format_pcm_alaw.c')
-rw-r--r--formats/format_pcm_alaw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/formats/format_pcm_alaw.c b/formats/format_pcm_alaw.c
index a738cf07b..13d7c174a 100644
--- a/formats/format_pcm_alaw.c
+++ b/formats/format_pcm_alaw.c
@@ -251,7 +251,7 @@ static int pcm_write(struct ast_filestream *fs, struct ast_frame *f)
static int pcm_seek(struct ast_filestream *fs, long sample_offset, int whence)
{
- long cur, max, offset;
+ long cur, max, offset = 0;
cur = ftell(fs->f);
fseek(fs->f, 0, SEEK_END);