ref: 92f05bd3e35cf3a0f94ae4e067500621586fcd06
parent: d2663a0bb271b9a4e6df3e081f76bfb2d93b2136
author: menno <menno>
date: Thu Aug 7 15:06:11 EDT 2003
foobar plugin updated
--- a/plugins/foo_mp4/foo_mp4.cpp
+++ b/plugins/foo_mp4/foo_mp4.cpp
@@ -22,7 +22,7 @@
** Commercial non-GPL licensing of this software is possible.
** For more info contact Ahead Software through [email protected].
**
-** $Id: foo_mp4.cpp,v 1.42 2003/08/07 18:58:10 menno Exp $
+** $Id: foo_mp4.cpp,v 1.43 2003/08/07 19:06:11 menno Exp $
**/
#include <mp4.h>
@@ -238,6 +238,7 @@
samples = m_samples - m_samplepos;
}
chunk->set_data(sample_buffer, samples, frameInfo.channels, frameInfo.samplerate);
+ m_samplepos += samples;
} else {
chunk->set_data(sample_buffer, frameInfo.samples/frameInfo.channels,
frameInfo.channels, frameInfo.samplerate);