diff options
author | Sean Bright <sean@malleable.com> | 2008-08-07 15:16:48 +0000 |
---|---|---|
committer | Sean Bright <sean@malleable.com> | 2008-08-07 15:16:48 +0000 |
commit | 6305009cfc4a9ce54dc5ecbbaa9c10c51970b72c (patch) | |
tree | 76635e989b9cee45e1c0376675b4149a86bfe53e /utils/frame.c | |
parent | 83972093166956bb4e6f0991fc5f36b085415b82 (diff) |
More merges from resolve-shadow warnings:
utils/
codecs/
and a change I missed from formats/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils/frame.c')
-rw-r--r-- | utils/frame.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/frame.c b/utils/frame.c index 5aadb9687..33a04808f 100644 --- a/utils/frame.c +++ b/utils/frame.c @@ -1008,7 +1008,7 @@ double double2db( double value) return 6.0 * log( value / 32767) / log( 2); } -void readawaysamples( FILE *in, size_t size) +void readawaysamples( FILE *input, size_t size) { short *buffer; int samplesread, count; @@ -1023,8 +1023,8 @@ void readawaysamples( FILE *in, size_t size) else count = size; - samplesread = fread( buffer, sizeof(*buffer), count, in); - if (ferror( in) != 0) + samplesread = fread( buffer, sizeof(*buffer), count, input); + if (ferror( input) != 0) fatalperror("Error reading input file"); size -= samplesread; } |