Assert that nobody calls IO::copy_to_output with empty bufs
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Fri, 8 Jul 2016 22:19:44 +0000 (00:19 +0200)
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Fri, 8 Jul 2016 23:21:27 +0000 (01:21 +0200)
commitd6534eb143dbd9308d0ed1985c6d00ad50c9dec8
treecd915b2de0ce3fda9972554629f086a2dc61c1bf
parentac923be7af7acf6e677cf76b162d5a8d315a7614
Assert that nobody calls IO::copy_to_output with empty bufs

IO::copy_to_output() crashed if there was no channel to copy from. Since
all callers seem to check before calling, just assert() that it is not
the case.
libs/ardour/io.cc