For chan_lcr with Asterisk 1.8, set the codec type of a frame into the correct
authorArnold Schulz <arnysch@gmx.net>
Tue, 8 Nov 2011 15:14:57 +0000 (16:14 +0100)
committerAndreas Eversberg <jolly@eversberg.eu>
Tue, 8 Nov 2011 15:14:57 +0000 (16:14 +0100)
union member ast_frame_subclass::codec (instead of ast_frame_subclass::integer).

The old code caused an error in some environments, eg big endian Arm (armeb):
"__ast_read: Dropping incompatible voice frame on lcr/1 of format alaw ..."

Signed-off-by: Arnold Schulz <arnysch@gmx.net>
Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>

No differences found