mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Fixes Big Endian build issue.
(closes issue #19298) Reported by: tzafrir git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@319083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -354,6 +354,7 @@ static struct ast_frame *wav_read(struct ast_filestream *s, int *whennext)
|
|||||||
int samples; /* actual samples read */
|
int samples; /* actual samples read */
|
||||||
#if __BYTE_ORDER == __BIG_ENDIAN
|
#if __BYTE_ORDER == __BIG_ENDIAN
|
||||||
int x;
|
int x;
|
||||||
|
short *tmp;
|
||||||
#endif
|
#endif
|
||||||
int bytes;
|
int bytes;
|
||||||
off_t here;
|
off_t here;
|
||||||
|
Reference in New Issue
Block a user