diff --git a/libavformat/Makefile b/libavformat/Makefile
index c32a254878dd20ffc0f3d3745b85fee5ce1abcdd..f73bc54a7d075e3715061c8b96d1fc9bea8c9471 100644
--- a/libavformat/Makefile
+++ b/libavformat/Makefile
@@ -1,7 +1,7 @@
 include $(SUBDIR)../config.mak
 
 NAME = avformat
-FFLIBS = avcodec avutil
+FFLIBS = avcodec avcore avutil
 
 HEADERS = avformat.h avio.h