~ubuntu-branches/ubuntu/trusty/iaxmodem/trusty

« back to all changes in this revision

Viewing changes to lib/spandsp/src/lpc10_encode.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien BLACHE
  • Date: 2008-02-12 15:29:42 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20080212152942-28cxxstfy8iujm0p
Tags: 1.1.0~dfsg-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 * implementation of the LPC-10 2400 bps Voice Coder. They do not
27
27
 * exert copyright claims on their code, and it may be freely used.
28
28
 *
29
 
 * $Id: lpc10_encode.c,v 1.16 2007/01/03 14:15:35 steveu Exp $
 
29
 * $Id: lpc10_encode.c,v 1.17 2007/11/26 13:28:59 steveu Exp $
30
30
 */
31
31
 
32
32
#ifdef HAVE_CONFIG_H
271
271
 
272
272
    if (s == NULL)
273
273
    {
274
 
        if ((s = (lpc10_encode_state_t *) malloc(sizeof(lpc10_encode_state_t))) == NULL)
 
274
        if ((s = (lpc10_encode_state_t *) malloc(sizeof(*s))) == NULL)
275
275
            return NULL;
276
276
    }
277
277