diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 0c347693584e1a97fe926774eae28fc739a7708f..489af7ca1ce66367e0c2a5e3f4b2f774c7bcf4a5 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -690,7 +690,7 @@ static AVOutputFormat mpeg2vob_mux = {
     mpeg_mux_end,
 };
 
-static AVInputFormat mpegps_demux = {
+AVInputFormat mpegps_demux = {
     "mpeg",
     "MPEG PS format",
     sizeof(MpegDemuxContext),