projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve FFmpeg sync, in theory.
[dcpomatic.git]
/
src
/
lib
/
sndfile_decoder.cc
diff --git
a/src/lib/sndfile_decoder.cc
b/src/lib/sndfile_decoder.cc
index 9030021e7c672d551eb309c788c4b4d9f7a7299a..80a6afd2baf79eae384164a310119a127e21c5bf 100644
(file)
--- a/
src/lib/sndfile_decoder.cc
+++ b/
src/lib/sndfile_decoder.cc
@@
-115,5
+115,5
@@
SndfileDecoder::audio_frame_rate () const
bool
SndfileDecoder::done () const
{
- return _
next_audio_frame >
_sndfile_content->audio_length ();
+ return _
audio_position >=
_sndfile_content->audio_length ();
}