Mercurial > libavcodec.hg
comparison libgsm.c @ 2967:ef2149182f1c libavcodec
COSMETICS: Remove all trailing whitespace.
author | diego |
---|---|
date | Sat, 17 Dec 2005 18:14:38 +0000 |
parents | 26bf6f4e9945 |
children | 0b546eab515d |
comparison
equal
deleted
inserted
replaced
2966:564788471dd4 | 2967:ef2149182f1c |
---|---|
14 * | 14 * |
15 * You should have received a copy of the GNU Lesser General Public | 15 * You should have received a copy of the GNU Lesser General Public |
16 * License along with this library; if not, write to the Free Software | 16 * License along with this library; if not, write to the Free Software |
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 */ | 18 */ |
19 | 19 |
20 /** | 20 /** |
21 * @file libgsm.c | 21 * @file libgsm.c |
22 * Interface to libgsm for gsm encoding/decoding | 22 * Interface to libgsm for gsm encoding/decoding |
23 */ | 23 */ |
24 | 24 |
35 | 35 |
36 avctx->frame_size = GSM_FRAME_SIZE; | 36 avctx->frame_size = GSM_FRAME_SIZE; |
37 avctx->block_align = GSM_BLOCK_SIZE; | 37 avctx->block_align = GSM_BLOCK_SIZE; |
38 | 38 |
39 avctx->priv_data = gsm_create(); | 39 avctx->priv_data = gsm_create(); |
40 | 40 |
41 avctx->coded_frame= avcodec_alloc_frame(); | 41 avctx->coded_frame= avcodec_alloc_frame(); |
42 avctx->coded_frame->key_frame= 1; | 42 avctx->coded_frame->key_frame= 1; |
43 | 43 |
44 return 0; | 44 return 0; |
45 } | 45 } |
46 | 46 |
47 static int libgsm_close(AVCodecContext *avctx) { | 47 static int libgsm_close(AVCodecContext *avctx) { |
48 gsm_destroy(avctx->priv_data); | 48 gsm_destroy(avctx->priv_data); |