Mercurial > libavformat.hg
comparison gif.c @ 1167:d89d7ef290da libavformat
give AVInput/OutputFormat structs consistent names
author | mru |
---|---|
date | Sun, 09 Jul 2006 23:40:53 +0000 |
parents | e89500dd9064 |
children | d18cc9a1fd02 |
comparison
equal
deleted
inserted
replaced
1166:e89500dd9064 | 1167:d89d7ef290da |
---|---|
412 put_byte(pb, 0x3b); | 412 put_byte(pb, 0x3b); |
413 put_flush_packet(pb); | 413 put_flush_packet(pb); |
414 return 0; | 414 return 0; |
415 } | 415 } |
416 | 416 |
417 static AVOutputFormat gif_oformat = { | 417 static AVOutputFormat gif_muxer = { |
418 "gif", | 418 "gif", |
419 "GIF Animation", | 419 "GIF Animation", |
420 "image/gif", | 420 "image/gif", |
421 "gif", | 421 "gif", |
422 sizeof(GIFContext), | 422 sizeof(GIFContext), |
425 gif_write_header, | 425 gif_write_header, |
426 gif_write_packet, | 426 gif_write_packet, |
427 gif_write_trailer, | 427 gif_write_trailer, |
428 }; | 428 }; |
429 | 429 |
430 extern AVInputFormat gif_iformat; | 430 extern AVInputFormat gif_demuxer; |
431 | 431 |
432 int gif_init(void) | 432 int gif_init(void) |
433 { | 433 { |
434 av_register_output_format(&gif_oformat); | 434 av_register_output_format(&gif_muxer); |
435 av_register_input_format(&gif_iformat); | 435 av_register_input_format(&gif_demuxer); |
436 return 0; | 436 return 0; |
437 } | 437 } |