summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-06 02:03:48 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-06 02:03:48 +0200
commit3be26a66645de04c7b220abeebfd2f024990a696 (patch)
tree2cbbe6e56235c119b8dad939a3ed2bddd9e35717 /tools
parentd0c41db8b5c3b1548faf6e11562c59a6161e16c6 (diff)
Cleanup: sorting.
Diffstat (limited to 'tools')
-rw-r--r--tools/dcpinfo.cc41
1 files changed, 22 insertions, 19 deletions
diff --git a/tools/dcpinfo.cc b/tools/dcpinfo.cc
index 03a75518..6a37be1c 100644
--- a/tools/dcpinfo.cc
+++ b/tools/dcpinfo.cc
@@ -31,25 +31,26 @@
files in the program, then also delete it here.
*/
+
+#include "common.h"
+#include "compose.hpp"
+#include "cpl.h"
#include "dcp.h"
+#include "decrypted_kdm.h"
+#include "encrypted_kdm.h"
#include "exceptions.h"
-#include "reel.h"
-#include "sound_asset.h"
+#include "interop_subtitle_asset.h"
+#include "mono_picture_asset.h"
#include "picture_asset.h"
-#include "subtitle_asset.h"
+#include "reel.h"
#include "reel_picture_asset.h"
#include "reel_sound_asset.h"
#include "reel_subtitle_asset.h"
-#include "subtitle_string.h"
-#include "subtitle_image.h"
-#include "interop_subtitle_asset.h"
#include "smpte_subtitle_asset.h"
-#include "mono_picture_asset.h"
-#include "encrypted_kdm.h"
-#include "decrypted_kdm.h"
-#include "cpl.h"
-#include "common.h"
-#include "compose.hpp"
+#include "sound_asset.h"
+#include "subtitle_asset.h"
+#include "subtitle_image.h"
+#include "subtitle_string.h"
#include <getopt.h>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string.hpp>
@@ -58,21 +59,23 @@
#include <sstream>
#include <inttypes.h>
-using std::string;
+
using std::cerr;
using std::cout;
+using std::dynamic_pointer_cast;
+using std::exception;
using std::list;
-using std::pair;
-using std::min;
using std::max;
-using std::exception;
-using std::vector;
-using std::stringstream;
+using std::min;
+using std::pair;
using std::shared_ptr;
-using std::dynamic_pointer_cast;
+using std::string;
+using std::stringstream;
+using std::vector;
using boost::optional;
using namespace dcp;
+
static void
help (string n)
{