comparison wc3movie.c @ 1167:d89d7ef290da libavformat

give AVInput/OutputFormat structs consistent names
author mru
date Sun, 09 Jul 2006 23:40:53 +0000
parents edbe5c3717f9
children d18cc9a1fd02
comparison
equal deleted inserted replaced
1166:e89500dd9064 1167:d89d7ef290da
379 av_free(wc3->palettes); 379 av_free(wc3->palettes);
380 380
381 return 0; 381 return 0;
382 } 382 }
383 383
384 static AVInputFormat wc3_iformat = { 384 static AVInputFormat wc3_demuxer = {
385 "wc3movie", 385 "wc3movie",
386 "Wing Commander III movie format", 386 "Wing Commander III movie format",
387 sizeof(Wc3DemuxContext), 387 sizeof(Wc3DemuxContext),
388 wc3_probe, 388 wc3_probe,
389 wc3_read_header, 389 wc3_read_header,
391 wc3_read_close, 391 wc3_read_close,
392 }; 392 };
393 393
394 int wc3_init(void) 394 int wc3_init(void)
395 { 395 {
396 av_register_input_format(&wc3_iformat); 396 av_register_input_format(&wc3_demuxer);
397 return 0; 397 return 0;
398 } 398 }