diff options
Diffstat (limited to 'src/sound_asset_writer.cc')
| -rw-r--r-- | src/sound_asset_writer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound_asset_writer.cc b/src/sound_asset_writer.cc index 346dcc12..29f3360d 100644 --- a/src/sound_asset_writer.cc +++ b/src/sound_asset_writer.cc @@ -242,7 +242,7 @@ SoundAssetWriter::write_current_frame () { auto const r = _state->mxf_writer.WriteFrame (_state->frame_buffer, _crypto_context->context(), _crypto_context->hmac()); if (ASDCP_FAILURE(r)) { - boost::throw_exception (MiscError(String::compose("could not write audio MXF frame (%1)", static_cast<int>(r)))); + boost::throw_exception (MiscError(compose("could not write audio MXF frame (%1)", static_cast<int>(r)))); } ++_frames_written; @@ -263,7 +263,7 @@ SoundAssetWriter::finalize () if (_started) { auto const r = _state->mxf_writer.Finalize(); if (ASDCP_FAILURE(r)) { - boost::throw_exception (MiscError(String::compose ("could not finalise audio MXF (%1)", static_cast<int>(r)))); + boost::throw_exception (MiscError(compose("could not finalise audio MXF (%1)", static_cast<int>(r)))); } } |
