diff --git a/libavcodec/imgresample.c b/libavcodec/imgresample.c
index 7ec930210e9fb4477cc25cb3dcab19e07300510a..e2b258d4bb9082e30a5ed7276243481c985b6522 100644
--- a/libavcodec/imgresample.c
+++ b/libavcodec/imgresample.c
@@ -22,6 +22,9 @@
 /**
  * @file libavcodec/imgresample.c
  * High quality image resampling with polyphase filters .
+ *
+ * WARNING: This file is deprecated and will be removed after FFmpeg 0.5
+ * release, do not lose your time improving it!
  */
 
 #include "avcodec.h"