diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c
index 2e4017b67c89065f51bc28d065956fab10e6bddd..6fca2c32a9f6b74a816304f06bd6cb8a4d4ebc38 100644
--- a/libavcodec/h264_sei.c
+++ b/libavcodec/h264_sei.c
@@ -25,12 +25,10 @@
  * @author Michael Niedermayer <michaelni@gmx.at>
  */
 
-#include "internal.h"
 #include "avcodec.h"
-#include "h264.h"
 #include "golomb.h"
-
-#include <assert.h>
+#include "h264.h"
+#include "internal.h"
 
 static const uint8_t sei_num_clock_ts_table[9] = {
     1, 1, 1, 2, 2, 3, 3, 2, 3