Mercurial > libavformat.hg
comparison gxf.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 |
---|---|
239 return ret; | 239 return ret; |
240 } | 240 } |
241 return AVERROR_IO; | 241 return AVERROR_IO; |
242 } | 242 } |
243 | 243 |
244 static AVInputFormat gxf_demuxer = { | 244 AVInputFormat gxf_demuxer = { |
245 "gxf", | 245 "gxf", |
246 "GXF format", | 246 "GXF format", |
247 0, | 247 0, |
248 gxf_probe, | 248 gxf_probe, |
249 gxf_header, | 249 gxf_header, |
250 gxf_packet, | 250 gxf_packet, |
251 NULL, | 251 NULL, |
252 NULL, | 252 NULL, |
253 }; | 253 }; |
254 | |
255 int gxf_init(void) { | |
256 av_register_input_format(&gxf_demuxer); | |
257 return 0; | |
258 } | |
259 |