Mercurial > libavformat.hg
comparison mm.c @ 1167:d89d7ef290da libavformat
give AVInput/OutputFormat structs consistent names
author | mru |
---|---|
date | Sun, 09 Jul 2006 23:40:53 +0000 |
parents | 3a64595e57be |
children | d18cc9a1fd02 |
comparison
equal
deleted
inserted
replaced
1166:e89500dd9064 | 1167:d89d7ef290da |
---|---|
197 static int mm_read_close(AVFormatContext *s) | 197 static int mm_read_close(AVFormatContext *s) |
198 { | 198 { |
199 return 0; | 199 return 0; |
200 } | 200 } |
201 | 201 |
202 static AVInputFormat mm_iformat = { | 202 static AVInputFormat mm_demuxer = { |
203 "mm", | 203 "mm", |
204 "American Laser Games MM format", | 204 "American Laser Games MM format", |
205 sizeof(MmDemuxContext), | 205 sizeof(MmDemuxContext), |
206 mm_probe, | 206 mm_probe, |
207 mm_read_header, | 207 mm_read_header, |
209 mm_read_close, | 209 mm_read_close, |
210 }; | 210 }; |
211 | 211 |
212 int mm_init(void) | 212 int mm_init(void) |
213 { | 213 { |
214 av_register_input_format(&mm_iformat); | 214 av_register_input_format(&mm_demuxer); |
215 return 0; | 215 return 0; |
216 } | 216 } |