Mercurial > libavcodec.hg
comparison vp3.c @ 4825:3f32f0e5a77b libavcodec
cosmetics: Move one code block to save an #ifdef in the next commit.
author | diego |
---|---|
date | Sun, 08 Apr 2007 18:52:03 +0000 |
parents | 128b2c9c1e04 |
children | 9ca9a53a848b |
comparison
equal
deleted
inserted
replaced
4824:128b2c9c1e04 | 4825:3f32f0e5a77b |
---|---|
2609 | 2609 |
2610 vp3_decode_init(avctx); | 2610 vp3_decode_init(avctx); |
2611 return 0; | 2611 return 0; |
2612 } | 2612 } |
2613 | 2613 |
2614 AVCodec vp3_decoder = { | |
2615 "vp3", | |
2616 CODEC_TYPE_VIDEO, | |
2617 CODEC_ID_VP3, | |
2618 sizeof(Vp3DecodeContext), | |
2619 vp3_decode_init, | |
2620 NULL, | |
2621 vp3_decode_end, | |
2622 vp3_decode_frame, | |
2623 0, | |
2624 NULL | |
2625 }; | |
2626 | |
2627 #ifdef CONFIG_THEORA_DECODER | 2614 #ifdef CONFIG_THEORA_DECODER |
2628 AVCodec theora_decoder = { | 2615 AVCodec theora_decoder = { |
2629 "theora", | 2616 "theora", |
2630 CODEC_TYPE_VIDEO, | 2617 CODEC_TYPE_VIDEO, |
2631 CODEC_ID_THEORA, | 2618 CODEC_ID_THEORA, |
2636 vp3_decode_frame, | 2623 vp3_decode_frame, |
2637 0, | 2624 0, |
2638 NULL | 2625 NULL |
2639 }; | 2626 }; |
2640 #endif | 2627 #endif |
2628 | |
2629 AVCodec vp3_decoder = { | |
2630 "vp3", | |
2631 CODEC_TYPE_VIDEO, | |
2632 CODEC_ID_VP3, | |
2633 sizeof(Vp3DecodeContext), | |
2634 vp3_decode_init, | |
2635 NULL, | |
2636 vp3_decode_end, | |
2637 vp3_decode_frame, | |
2638 0, | |
2639 NULL | |
2640 }; |