Mercurial > libavformat.hg
comparison au.c @ 1167:d89d7ef290da libavformat
give AVInput/OutputFormat structs consistent names
author | mru |
---|---|
date | Sun, 09 Jul 2006 23:40:53 +0000 |
parents | e3a585883bbd |
children | d18cc9a1fd02 |
comparison
equal
deleted
inserted
replaced
1166:e89500dd9064 | 1167:d89d7ef290da |
---|---|
176 static int au_read_close(AVFormatContext *s) | 176 static int au_read_close(AVFormatContext *s) |
177 { | 177 { |
178 return 0; | 178 return 0; |
179 } | 179 } |
180 | 180 |
181 static AVInputFormat au_iformat = { | 181 static AVInputFormat au_demuxer = { |
182 "au", | 182 "au", |
183 "SUN AU Format", | 183 "SUN AU Format", |
184 0, | 184 0, |
185 au_probe, | 185 au_probe, |
186 au_read_header, | 186 au_read_header, |
188 au_read_close, | 188 au_read_close, |
189 pcm_read_seek, | 189 pcm_read_seek, |
190 }; | 190 }; |
191 | 191 |
192 #ifdef CONFIG_MUXERS | 192 #ifdef CONFIG_MUXERS |
193 static AVOutputFormat au_oformat = { | 193 static AVOutputFormat au_muxer = { |
194 "au", | 194 "au", |
195 "SUN AU Format", | 195 "SUN AU Format", |
196 "audio/basic", | 196 "audio/basic", |
197 "au", | 197 "au", |
198 0, | 198 0, |
204 }; | 204 }; |
205 #endif //CONFIG_MUXERS | 205 #endif //CONFIG_MUXERS |
206 | 206 |
207 int au_init(void) | 207 int au_init(void) |
208 { | 208 { |
209 av_register_input_format(&au_iformat); | 209 av_register_input_format(&au_demuxer); |
210 #ifdef CONFIG_MUXERS | 210 #ifdef CONFIG_MUXERS |
211 av_register_output_format(&au_oformat); | 211 av_register_output_format(&au_muxer); |
212 #endif //CONFIG_MUXERS | 212 #endif //CONFIG_MUXERS |
213 return 0; | 213 return 0; |
214 } | 214 } |