diff --git a/libavformat/oggdec.h b/libavformat/oggdec.h
index 66af84cf1813841b3014bb758307625ccae0b1ba..177032c0c3f6ba48966ed050a5bd39569504ca2e 100644
--- a/libavformat/oggdec.h
+++ b/libavformat/oggdec.h
@@ -75,14 +75,14 @@ typedef struct ogg {
 #define OGG_FLAG_BOS  2
 #define OGG_FLAG_EOS  4
 
-extern ogg_codec_t vorbis_codec;
-extern ogg_codec_t theora_codec;
 extern ogg_codec_t flac_codec;
-extern ogg_codec_t old_flac_codec;
-extern ogg_codec_t ogm_video_codec;
 extern ogg_codec_t ogm_audio_codec;
-extern ogg_codec_t ogm_text_codec;
 extern ogg_codec_t ogm_old_codec;
+extern ogg_codec_t ogm_text_codec;
+extern ogg_codec_t ogm_video_codec;
+extern ogg_codec_t old_flac_codec;
+extern ogg_codec_t theora_codec;
+extern ogg_codec_t vorbis_codec;
 
 extern int vorbis_comment(AVFormatContext *ms, uint8_t *buf, int size);