comparison 4xm.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
316 av_free(fourxm->tracks); 316 av_free(fourxm->tracks);
317 317
318 return 0; 318 return 0;
319 } 319 }
320 320
321 static AVInputFormat fourxm_demuxer = { 321 AVInputFormat fourxm_demuxer = {
322 "4xm", 322 "4xm",
323 "4X Technologies format", 323 "4X Technologies format",
324 sizeof(FourxmDemuxContext), 324 sizeof(FourxmDemuxContext),
325 fourxm_probe, 325 fourxm_probe,
326 fourxm_read_header, 326 fourxm_read_header,
327 fourxm_read_packet, 327 fourxm_read_packet,
328 fourxm_read_close, 328 fourxm_read_close,
329 }; 329 };
330
331 int fourxm_init(void)
332 {
333 av_register_input_format(&fourxm_demuxer);
334 return 0;
335 }