diff --git a/libavformat/Makefile b/libavformat/Makefile
index 4b031f4493a30987a2cf237c875c441253e70456..013f6bead427970adc5f9016ebe9984971a72ccc 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -71,8 +71,8 @@ OBJS-$(CONFIG_EAC3_DEMUXER)              += ac3dec.o rawdec.o
 OBJS-$(CONFIG_EAC3_MUXER)                += rawenc.o
 OBJS-$(CONFIG_FFM_DEMUXER)               += ffmdec.o
 OBJS-$(CONFIG_FFM_MUXER)                 += ffmenc.o
-OBJS-$(CONFIG_FFMETADATA_DEMUXER)        += metadec.o
-OBJS-$(CONFIG_FFMETADATA_MUXER)          += metaenc.o
+OBJS-$(CONFIG_FFMETADATA_DEMUXER)        += ffmetadec.o
+OBJS-$(CONFIG_FFMETADATA_MUXER)          += ffmetaenc.o
 OBJS-$(CONFIG_FILMSTRIP_DEMUXER)         += filmstripdec.o
 OBJS-$(CONFIG_FILMSTRIP_MUXER)           += filmstripenc.o
 OBJS-$(CONFIG_FLAC_DEMUXER)              += flacdec.o rawdec.o \
diff --git a/libavformat/metadec.c b/libavformat/ffmetadec.c
similarity index 100%
rename from libavformat/metadec.c
rename to libavformat/ffmetadec.c
diff --git a/libavformat/metaenc.c b/libavformat/ffmetaenc.c
similarity index 100%
rename from libavformat/metaenc.c
rename to libavformat/ffmetaenc.c