Commit 6f6a3e2a authored by Diego Biurrun's avatar Diego Biurrun

cosmetics: Move one code block to save an #ifdef in the next commit.

Originally committed as revision 8684 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d7455a1c
...@@ -2611,30 +2611,30 @@ static int theora_decode_init(AVCodecContext *avctx) ...@@ -2611,30 +2611,30 @@ static int theora_decode_init(AVCodecContext *avctx)
return 0; return 0;
} }
AVCodec vp3_decoder = { #ifdef CONFIG_THEORA_DECODER
"vp3", AVCodec theora_decoder = {
"theora",
CODEC_TYPE_VIDEO, CODEC_TYPE_VIDEO,
CODEC_ID_VP3, CODEC_ID_THEORA,
sizeof(Vp3DecodeContext), sizeof(Vp3DecodeContext),
vp3_decode_init, theora_decode_init,
NULL, NULL,
vp3_decode_end, vp3_decode_end,
vp3_decode_frame, vp3_decode_frame,
0, 0,
NULL NULL
}; };
#endif
#ifdef CONFIG_THEORA_DECODER AVCodec vp3_decoder = {
AVCodec theora_decoder = { "vp3",
"theora",
CODEC_TYPE_VIDEO, CODEC_TYPE_VIDEO,
CODEC_ID_THEORA, CODEC_ID_VP3,
sizeof(Vp3DecodeContext), sizeof(Vp3DecodeContext),
theora_decode_init, vp3_decode_init,
NULL, NULL,
vp3_decode_end, vp3_decode_end,
vp3_decode_frame, vp3_decode_frame,
0, 0,
NULL NULL
}; };
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment