diff --git a/libavformat/idroqdec.c b/libavformat/idroqdec.c
index 5c1528de0fc85d80c715b3815bb5256b2e67e19a..be3122e7896ec8f88d44cc0af0e34c3037bab30a 100644
--- a/libavformat/idroqdec.c
+++ b/libavformat/idroqdec.c
@@ -217,7 +217,7 @@ static int roq_read_packet(AVFormatContext *s,
 }
 
 AVInputFormat ff_roq_demuxer = {
-    .name           = "RoQ",
+    .name           = "roq",
     .long_name      = NULL_IF_CONFIG_SMALL("id RoQ format"),
     .priv_data_size = sizeof(RoqDemuxContext),
     .read_probe     = roq_probe,
diff --git a/libavformat/idroqenc.c b/libavformat/idroqenc.c
index 266a731cc3f2643f4245cf3cb0d09663b0f945e4..394d16ff4dbdc2f6a5e29f4c92eeb6e593943a35 100644
--- a/libavformat/idroqenc.c
+++ b/libavformat/idroqenc.c
@@ -36,7 +36,7 @@ static int roq_write_header(struct AVFormatContext *s)
 }
 
 AVOutputFormat ff_roq_muxer = {
-    .name         = "RoQ",
+    .name         = "roq",
     .long_name    = NULL_IF_CONFIG_SMALL("raw id RoQ format"),
     .extensions   = "roq",
     .audio_codec  = CODEC_ID_ROQ_DPCM,
diff --git a/libavformat/iff.c b/libavformat/iff.c
index 8ed68125cb3f21086aa1a2e40afbe9d39b466f04..cde420ea3e7042f37bc1c0b04a94bffbba071ed5 100644
--- a/libavformat/iff.c
+++ b/libavformat/iff.c
@@ -281,7 +281,7 @@ static int iff_read_packet(AVFormatContext *s,
 }
 
 AVInputFormat ff_iff_demuxer = {
-    .name           = "IFF",
+    .name           = "iff",
     .long_name      = NULL_IF_CONFIG_SMALL("Interchange File Format"),
     .priv_data_size = sizeof(IffDemuxContext),
     .read_probe     = iff_probe,
diff --git a/libavformat/iss.c b/libavformat/iss.c
index 8c297f8ffb05f17fbd226ce184e67af5a83a4e37..b9848d31393224aedbad273e3597e43b1155764f 100644
--- a/libavformat/iss.c
+++ b/libavformat/iss.c
@@ -123,7 +123,7 @@ static int iss_read_packet(AVFormatContext *s, AVPacket *pkt)
 }
 
 AVInputFormat ff_iss_demuxer = {
-    .name           = "ISS",
+    .name           = "iss",
     .long_name      = NULL_IF_CONFIG_SMALL("Funcom ISS format"),
     .priv_data_size = sizeof(IssDemuxContext),
     .read_probe     = iss_probe,
diff --git a/libavformat/mtv.c b/libavformat/mtv.c
index 0d4a05c5f5db1b839c2a43233c166b134c69516f..e917a1980ccb8768dd4d5c5ebed1bc5c429309fa 100644
--- a/libavformat/mtv.c
+++ b/libavformat/mtv.c
@@ -188,7 +188,7 @@ static int mtv_read_packet(AVFormatContext *s, AVPacket *pkt)
 }
 
 AVInputFormat ff_mtv_demuxer = {
-    .name           = "MTV",
+    .name           = "mtv",
     .long_name      = NULL_IF_CONFIG_SMALL("MTV format"),
     .priv_data_size = sizeof(MTVDemuxContext),
     .read_probe     = mtv_probe,
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 2ae028ed7f080358f8f25042b1ef75560c1c138f..e173c4a4b8c7248515514b51881cc97b6406f6aa 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -119,7 +119,7 @@ FATE_SAMPLES_AVCONV += fate-id-cin-video
 fate-id-cin-video: CMD = framecrc -i $(SAMPLES)/idcin/idlog-2MB.cin -pix_fmt rgb24
 
 FATE_SAMPLES_AVCONV += fate-idroq-video-encode
-fate-idroq-video-encode: CMD = md5 -f image2 -vcodec pgmyuv -i $(SAMPLES)/ffmpeg-synthetic/vsynth1/%02d.pgm -sws_flags +bitexact -vf pad=512:512:80:112 -f RoQ -t 0.2
+fate-idroq-video-encode: CMD = md5 -f image2 -vcodec pgmyuv -i $(SAMPLES)/ffmpeg-synthetic/vsynth1/%02d.pgm -sws_flags +bitexact -vf pad=512:512:80:112 -f roq -t 0.2
 
 FATE_IFF += fate-iff-byterun1
 fate-iff-byterun1: CMD = framecrc -i $(SAMPLES)/iff/ASH.LBM -pix_fmt rgb24