summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-27 13:16:07 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-27 13:16:07 +0100
commit475ecb67af7af522ec8796ea1bf0d16602c78273 (patch)
tree6a8eb77777211b2ac6903d22858df0afc3188212 /src
parent0efe439f5e2ff5546a75088cca32572e4ffe4341 (diff)
Clean up a few bits.
Diffstat (limited to 'src')
-rw-r--r--src/lib/decoder.cc1
-rw-r--r--src/lib/film_state.cc1
-rw-r--r--src/lib/scp_dcp_job.cc2
-rw-r--r--src/tools/dvdomatic.cc2
4 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc
index 0273b3c01..0a0f7666b 100644
--- a/src/lib/decoder.cc
+++ b/src/lib/decoder.cc
@@ -32,7 +32,6 @@ extern "C" {
#endif
#include <libavformat/avio.h>
}
-#include <samplerate.h>
#include "film.h"
#include "format.h"
#include "job.h"
diff --git a/src/lib/film_state.cc b/src/lib/film_state.cc
index 0b16f4175..29bf71db3 100644
--- a/src/lib/film_state.cc
+++ b/src/lib/film_state.cc
@@ -279,4 +279,5 @@ FilmState::bytes_per_sample () const
}
assert (false);
+ return 0;
}
diff --git a/src/lib/scp_dcp_job.cc b/src/lib/scp_dcp_job.cc
index bfa9d056d..f62d2db8d 100644
--- a/src/lib/scp_dcp_job.cc
+++ b/src/lib/scp_dcp_job.cc
@@ -225,7 +225,7 @@ SCPDCPJob::status () const
stringstream s;
s << Job::status ();
if (!_status.empty ()) {
- s << << "; " << _status;
+ s << "; " << _status;
}
return s.str ();
}
diff --git a/src/tools/dvdomatic.cc b/src/tools/dvdomatic.cc
index 131f0bd71..1394ccff2 100644
--- a/src/tools/dvdomatic.cc
+++ b/src/tools/dvdomatic.cc
@@ -268,7 +268,7 @@ public:
void file_open (wxCommandEvent &)
{
- wxDirDialog* c = new wxDirDialog (this, wxT ("Open Film"), wxStandardPaths::Get().GetDocumentsDir(), wxDD_DIR_MUST_EXIST);
+ wxDirDialog* c = new wxDirDialog (this, wxT ("Open Film"), wxStandardPaths::Get().GetDocumentsDir(), wxDEFAULT_DIALOG_STYLE | wxDD_DIR_MUST_EXIST);
int const r = c->ShowModal ();
c->Destroy ();