comparison ra144.c @ 7451:85ab7655ad4d libavcodec

Modify all codecs to report their supported input and output sample format(s).
author pross
date Thu, 31 Jul 2008 10:47:31 +0000
parents 16737361e9ab
children e94202a2e0b6
comparison
equal deleted inserted replaced
7450:30d38a880fde 7451:85ab7655ad4d
56 RA144Context *ractx = avctx->priv_data; 56 RA144Context *ractx = avctx->priv_data;
57 57
58 ractx->lpc_coef[0] = ractx->lpc_tables[0]; 58 ractx->lpc_coef[0] = ractx->lpc_tables[0];
59 ractx->lpc_coef[1] = ractx->lpc_tables[1]; 59 ractx->lpc_coef[1] = ractx->lpc_tables[1];
60 60
61 avctx->sample_fmt = SAMPLE_FMT_S16;
61 return 0; 62 return 0;
62 } 63 }
63 64
64 /** 65 /**
65 * Evaluate sqrt(x << 24). x must fit in 20 bits. This value is evaluated in an 66 * Evaluate sqrt(x << 24). x must fit in 20 bits. This value is evaluated in an