[asterisk-bugs] [Asterisk 0012932]: [patch] Union rather than cast for outbuf (translate.h)
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Jun 26 11:59:12 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12932
======================================================================
Reported By: snuffy
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12932
Category: Core/Portability
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 124869
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 06-26-2008 10:28 CDT
Last Modified: 06-26-2008 11:59 CDT
======================================================================
Summary: [patch] Union rather than cast for outbuf
(translate.h)
Description:
This is part of the things i tried to achieve under solaris to fix
alginment issues. ( issue http://bugs.digium.com/view.php?id=11485 )
This has only had very basic tests done.. alaw/ulaw to gsm etc.
Playback seemed fine.
Probably want to rename some of the unions var names but its a start
======================================================================
----------------------------------------------------------------------
svnbot - 06-26-08 11:59
----------------------------------------------------------------------
Repository: asterisk
Revision: 125386
U trunk/codecs/codec_a_mu.c
U trunk/codecs/codec_adpcm.c
U trunk/codecs/codec_alaw.c
U trunk/codecs/codec_g722.c
U trunk/codecs/codec_g726.c
U trunk/codecs/codec_gsm.c
U trunk/codecs/codec_ilbc.c
U trunk/codecs/codec_lpc10.c
U trunk/codecs/codec_resample.c
U trunk/codecs/codec_speex.c
U trunk/codecs/codec_ulaw.c
U trunk/include/asterisk/translate.h
U trunk/main/translate.c
------------------------------------------------------------------------
r125386 | tilghman | 2008-06-26 11:59:07 -0500 (Thu, 26 Jun 2008) | 6
lines
Convert casts to unions, to fix alignment issues on Solaris
(closes issue http://bugs.digium.com/view.php?id=12932)
Reported by: snuffy
Patches:
bug_12932_20080627.diff uploaded by snuffy (license 35)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=125386
Issue History
Date Modified Username Field Change
======================================================================
06-26-08 11:59 svnbot Note Added: 0089292
======================================================================
More information about the asterisk-bugs
mailing list