mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-16 04:15:05 +00:00
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
This commit is contained in:
parent
d7455a1c18
commit
6f6a3e2acb
@ -2611,19 +2611,6 @@ static int theora_decode_init(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVCodec vp3_decoder = {
|
||||
"vp3",
|
||||
CODEC_TYPE_VIDEO,
|
||||
CODEC_ID_VP3,
|
||||
sizeof(Vp3DecodeContext),
|
||||
vp3_decode_init,
|
||||
NULL,
|
||||
vp3_decode_end,
|
||||
vp3_decode_frame,
|
||||
0,
|
||||
NULL
|
||||
};
|
||||
|
||||
#ifdef CONFIG_THEORA_DECODER
|
||||
AVCodec theora_decoder = {
|
||||
"theora",
|
||||
@ -2638,3 +2625,16 @@ AVCodec theora_decoder = {
|
||||
NULL
|
||||
};
|
||||
#endif
|
||||
|
||||
AVCodec vp3_decoder = {
|
||||
"vp3",
|
||||
CODEC_TYPE_VIDEO,
|
||||
CODEC_ID_VP3,
|
||||
sizeof(Vp3DecodeContext),
|
||||
vp3_decode_init,
|
||||
NULL,
|
||||
vp3_decode_end,
|
||||
vp3_decode_frame,
|
||||
0,
|
||||
NULL
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user