diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 05920841d249a7756dca96eebddb10339c5a8ca1..6701a4e146679f072385d4022caa4e645fff78be 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -447,7 +447,7 @@ imgresample-test: imgresample.c $(LIB)
 
 dct-test: dct-test.o fdctref.o $(LIB)
 
-motion-test: motion_test.o $(LIB)
+motion-test: motion-test.o $(LIB)
 
 fft-test: fft-test.o mdct.o fft.o $(LIB)
 
diff --git a/libavcodec/motion_test.c b/libavcodec/motion-test.c
similarity index 100%
rename from libavcodec/motion_test.c
rename to libavcodec/motion-test.c