projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change end() to only do one thing, and copy the required stuff into pause()
[dcpomatic.git]
/
src
/
lib
/
audio_buffers.h
diff --git
a/src/lib/audio_buffers.h
b/src/lib/audio_buffers.h
index 645348aa0ef7e557513629c9a628a9df5c544fa4..b43179663093ea8eb549692bf841974f694f436a 100644
(file)
--- a/
src/lib/audio_buffers.h
+++ b/
src/lib/audio_buffers.h
@@
-60,7
+60,7
@@
public:
}
int frames () const {
- return _data[0].size();
+ return _data
.empty() ? 0 : _data
[0].size();
}
void set_frames (int f);