diff --git a/libavformat/img2.c b/libavformat/img2.c
index 766d4a99a17688b26379ae1bce15aee969163412..aeae62a7bd54b9c26485bbd83387e3473dfc7d5b 100644
--- a/libavformat/img2.c
+++ b/libavformat/img2.c
@@ -399,7 +399,6 @@ AVInputFormat image2pipe_demuxer = {
     img_read_header,
     img_read_packet,
     img_read_close,
-    NULL,
 };
 #endif