[Ffmpeg-cvslog] r8684 - trunk/libavcodec/vp3.c

diego subversion
Sun Apr 8 20:52:03 CEST 2007


Author: diego
Date: Sun Apr  8 20:52:03 2007
New Revision: 8684

Modified:
   trunk/libavcodec/vp3.c

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


Modified: trunk/libavcodec/vp3.c
==============================================================================
--- trunk/libavcodec/vp3.c	(original)
+++ trunk/libavcodec/vp3.c	Sun Apr  8 20:52:03 2007
@@ -2611,30 +2611,30 @@ static int theora_decode_init(AVCodecCon
     return 0;
 }
 
-AVCodec vp3_decoder = {
-    "vp3",
+#ifdef CONFIG_THEORA_DECODER
+AVCodec theora_decoder = {
+    "theora",
     CODEC_TYPE_VIDEO,
-    CODEC_ID_VP3,
+    CODEC_ID_THEORA,
     sizeof(Vp3DecodeContext),
-    vp3_decode_init,
+    theora_decode_init,
     NULL,
     vp3_decode_end,
     vp3_decode_frame,
     0,
     NULL
 };
+#endif
 
-#ifdef CONFIG_THEORA_DECODER
-AVCodec theora_decoder = {
-    "theora",
+AVCodec vp3_decoder = {
+    "vp3",
     CODEC_TYPE_VIDEO,
-    CODEC_ID_THEORA,
+    CODEC_ID_VP3,
     sizeof(Vp3DecodeContext),
-    theora_decode_init,
+    vp3_decode_init,
     NULL,
     vp3_decode_end,
     vp3_decode_frame,
     0,
     NULL
 };
-#endif




More information about the ffmpeg-cvslog mailing list