Mercurial > libavcodec.hg
comparison libgsm.c @ 6717:5df0c730234d libavcodec
Add some long names to AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it
author | diego |
---|---|
date | Tue, 29 Apr 2008 07:24:44 +0000 |
parents | 679b9ef6f5f3 |
children | 2c540dc9ca2c |
comparison
equal
deleted
inserted
replaced
6716:aa09311685b2 | 6717:5df0c730234d |
---|---|
104 CODEC_ID_GSM, | 104 CODEC_ID_GSM, |
105 0, | 105 0, |
106 libgsm_init, | 106 libgsm_init, |
107 libgsm_encode_frame, | 107 libgsm_encode_frame, |
108 libgsm_close, | 108 libgsm_close, |
109 .long_name = "libgsm GSM", | |
109 }; | 110 }; |
110 | 111 |
111 AVCodec libgsm_ms_encoder = { | 112 AVCodec libgsm_ms_encoder = { |
112 "libgsm_ms", | 113 "libgsm_ms", |
113 CODEC_TYPE_AUDIO, | 114 CODEC_TYPE_AUDIO, |
114 CODEC_ID_GSM_MS, | 115 CODEC_ID_GSM_MS, |
115 0, | 116 0, |
116 libgsm_init, | 117 libgsm_init, |
117 libgsm_encode_frame, | 118 libgsm_encode_frame, |
118 libgsm_close, | 119 libgsm_close, |
120 .long_name = "libgsm GSM Microsoft variant", | |
119 }; | 121 }; |
120 | 122 |
121 static int libgsm_decode_frame(AVCodecContext *avctx, | 123 static int libgsm_decode_frame(AVCodecContext *avctx, |
122 void *data, int *data_size, | 124 void *data, int *data_size, |
123 uint8_t *buf, int buf_size) { | 125 uint8_t *buf, int buf_size) { |
143 0, | 145 0, |
144 libgsm_init, | 146 libgsm_init, |
145 NULL, | 147 NULL, |
146 libgsm_close, | 148 libgsm_close, |
147 libgsm_decode_frame, | 149 libgsm_decode_frame, |
150 .long_name = "libgsm GSM", | |
148 }; | 151 }; |
149 | 152 |
150 AVCodec libgsm_ms_decoder = { | 153 AVCodec libgsm_ms_decoder = { |
151 "libgsm_ms", | 154 "libgsm_ms", |
152 CODEC_TYPE_AUDIO, | 155 CODEC_TYPE_AUDIO, |
154 0, | 157 0, |
155 libgsm_init, | 158 libgsm_init, |
156 NULL, | 159 NULL, |
157 libgsm_close, | 160 libgsm_close, |
158 libgsm_decode_frame, | 161 libgsm_decode_frame, |
162 .long_name = "libgsm GSM Microsoft variant", | |
159 }; | 163 }; |