Mercurial > libavformat.hg
comparison flic.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 | 0899bfe4105c |
comparison
equal
deleted
inserted
replaced
1168:c894489e2abe | 1169:d18cc9a1fd02 |
---|---|
206 // FlicDemuxContext *flic = (FlicDemuxContext *)s->priv_data; | 206 // FlicDemuxContext *flic = (FlicDemuxContext *)s->priv_data; |
207 | 207 |
208 return 0; | 208 return 0; |
209 } | 209 } |
210 | 210 |
211 static AVInputFormat flic_demuxer = { | 211 AVInputFormat flic_demuxer = { |
212 "flic", | 212 "flic", |
213 "FLI/FLC/FLX animation format", | 213 "FLI/FLC/FLX animation format", |
214 sizeof(FlicDemuxContext), | 214 sizeof(FlicDemuxContext), |
215 flic_probe, | 215 flic_probe, |
216 flic_read_header, | 216 flic_read_header, |
217 flic_read_packet, | 217 flic_read_packet, |
218 flic_read_close, | 218 flic_read_close, |
219 }; | 219 }; |
220 | |
221 int flic_init(void) | |
222 { | |
223 av_register_input_format(&flic_demuxer); | |
224 return 0; | |
225 } |