diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c
index c7abd9d45d56593c88e5158b312365618c76358d..49ebeca6d8eaf5a3ccd6d91c338d99386b5236eb 100644
--- a/libavcodec/h264dec.c
+++ b/libavcodec/h264dec.c
@@ -55,8 +55,6 @@
 #include "thread.h"
 #include "vdpau_compat.h"
 
-static int h264_decode_end(AVCodecContext *avctx);
-
 const uint16_t ff_h264_mb_sizes[4] = { 256, 384, 512, 768 };
 
 int avpriv_h264_has_num_reorder_frames(AVCodecContext *avctx)