Use dcp::compose rather than our own.
[dcpomatic.git] / src / lib / ffmpeg_decoder.cc
index 31fbde773b3ab86df610edb9eb801141a48e9a11..a1b44624e4ab30d12f1aba73d73ebfad8b36f646 100644 (file)
 #include "video_decoder.h"
 #include "film.h"
 #include "audio_decoder.h"
-#include "compose.hpp"
 #include "text_content.h"
 #include "audio_content.h"
 #include "frame_interval_checker.h"
+#include <dcp/compose.h>
 #include <dcp/subtitle_string.h>
 #include <sub/ssa_reader.h>
 #include <sub/subtitle.h>
@@ -340,7 +340,7 @@ FFmpegDecoder::deinterleave_audio (AVFrame* frame)
        break;
 
        default:
-               throw DecodeError (String::compose(_("Unrecognised audio sample format (%1)"), static_cast<int>(format)));
+               throw DecodeError (dcp::compose(_("Unrecognised audio sample format (%1)"), static_cast<int>(format)));
        }
 
        return audio;