projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d5280
)
I don't think the audio parameter here should ever be 0.
author
Carl Hetherington
<cth@carlh.net>
Fri, 29 Dec 2017 16:23:27 +0000
(16:23 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 29 Dec 2017 16:23:27 +0000
(16:23 +0000)
src/lib/reel_writer.cc
patch
|
blob
|
history
diff --git
a/src/lib/reel_writer.cc
b/src/lib/reel_writer.cc
index c560909a9f5c1aa2d189a8b3dccc23a3fcd3a313..4aa5ff3a7260fd4498ff5304c3ed0dd4a6f6c056 100644
(file)
--- a/
src/lib/reel_writer.cc
+++ b/
src/lib/reel_writer.cc
@@
-530,9
+530,8
@@
ReelWriter::write (shared_ptr<const AudioBuffers> audio)
return;
}
- if (audio) {
- _sound_asset_writer->write (audio->data(), audio->frames());
- }
+ DCPOMATIC_ASSERT (audio);
+ _sound_asset_writer->write (audio->data(), audio->frames());
}
void