Mercurial > libavformat.hg
comparison sol.c @ 1169:d18cc9a1fd02 libavformat
allow individual selection of muxers and demuxers
author | mru |
---|---|
date | Mon, 10 Jul 2006 21:14:37 +0000 |
parents | d89d7ef290da |
children | 6a5e58d2114b |
comparison
equal
deleted
inserted
replaced
1168:c894489e2abe | 1169:d18cc9a1fd02 |
---|---|
144 static int sol_read_close(AVFormatContext *s) | 144 static int sol_read_close(AVFormatContext *s) |
145 { | 145 { |
146 return 0; | 146 return 0; |
147 } | 147 } |
148 | 148 |
149 static AVInputFormat sol_demuxer = { | 149 AVInputFormat sol_demuxer = { |
150 "sol", | 150 "sol", |
151 "Sierra SOL Format", | 151 "Sierra SOL Format", |
152 0, | 152 0, |
153 sol_probe, | 153 sol_probe, |
154 sol_read_header, | 154 sol_read_header, |
155 sol_read_packet, | 155 sol_read_packet, |
156 sol_read_close, | 156 sol_read_close, |
157 pcm_read_seek, | 157 pcm_read_seek, |
158 }; | 158 }; |
159 | |
160 int sol_init(void) | |
161 { | |
162 av_register_input_format(&sol_demuxer); | |
163 return 0; | |
164 } |