diff --git a/libswresample/swresample.h b/libswresample/swresample.h
index ac43cd25c4c76e4336c5539a6b50f965bb8461f5..2ce666e2d5c08baf533ba6aa1f02613cca940fdc 100644
--- a/libswresample/swresample.h
+++ b/libswresample/swresample.h
@@ -23,8 +23,8 @@
  * libswresample public header
  */
 
-#ifndef SWR_H
-#define SWR_H
+#ifndef SWRESAMPLE_SWRESAMPLE_H
+#define SWRESAMPLE_SWRESAMPLE_H
 
 #include <inttypes.h>
 #include "libavutil/samplefmt.h"
@@ -217,4 +217,4 @@ const char *swresample_configuration(void);
  */
 const char *swresample_license(void);
 
-#endif
+#endif /* SWRESAMPLE_SWRESAMPLE_H */