diff --git a/libavformat/nut.c b/libavformat/nut.c
index f4f5f1fce3040d5ae4bb9152deae94798c2c0ef3..a049365b8ca4f90eae1c5c203c8d8491c73e2647 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -1028,7 +1028,7 @@ static AVOutputFormat nut_oformat = {
     "video/x-nut",
     "nut",
     sizeof(NUTContext),
-#if 0 //#ifdef CONFIG_VORBIS
+#ifdef CONFIG_VORBIS
     CODEC_ID_VORBIS,
 #elif defined(CONFIG_MP3LAME)
     CODEC_ID_MP3,