summaryrefslogtreecommitdiffstats
path: root/mpeglib/lib
diff options
context:
space:
mode:
Diffstat (limited to 'mpeglib/lib')
-rw-r--r--mpeglib/lib/decoder/splayPlugin.cpp8
-rw-r--r--mpeglib/lib/decoder/splayPlugin.h2
-rw-r--r--mpeglib/lib/mpegplay/mpegSystemHeader.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/mpeglib/lib/decoder/splayPlugin.cpp b/mpeglib/lib/decoder/splayPlugin.cpp
index d0caa077..097d6d79 100644
--- a/mpeglib/lib/decoder/splayPlugin.cpp
+++ b/mpeglib/lib/decoder/splayPlugin.cpp
@@ -37,7 +37,7 @@ SplayPlugin::SplayPlugin() {
audioFrame=new AudioFrame();
framer=new MpegAudioFrame();
splay=new SplayDecoder();
- lenghtInSec=0;
+ lengthInSec=0;
fileAccess=NULL;
info=NULL;
@@ -106,7 +106,7 @@ void SplayPlugin::decoder_loop() {
framer->reset();
- lenghtInSec=0;
+ lengthInSec=0;
resyncCounter=0;
AudioFrame* audioFrame=pcmFrame;
@@ -217,8 +217,8 @@ void SplayPlugin::processStreamState(TimeStamp* stamp,AudioFrame* playFrame){
audioSetup(playFrame);
if (lnoLength==false) {
- lenghtInSec=getTotalLength();
- pluginInfo->setLength(lenghtInSec);
+ lengthInSec=getTotalLength();
+ pluginInfo->setLength(lengthInSec);
output->writeInfo(pluginInfo);
}
diff --git a/mpeglib/lib/decoder/splayPlugin.h b/mpeglib/lib/decoder/splayPlugin.h
index 34a9751b..d7eed4ec 100644
--- a/mpeglib/lib/decoder/splayPlugin.h
+++ b/mpeglib/lib/decoder/splayPlugin.h
@@ -42,7 +42,7 @@ class KDE_EXPORT SplayPlugin : public DecoderPlugin {
FloatFrame* floatFrame;
PCMFrame* pcmFrame;
unsigned char* inputbuffer;
- int lenghtInSec;
+ int lengthInSec;
MpegAudioInfo* info;
FileAccessWrapper* fileAccess;
int resyncCounter;
diff --git a/mpeglib/lib/mpegplay/mpegSystemHeader.h b/mpeglib/lib/mpegplay/mpegSystemHeader.h
index abad3794..97b50d9c 100644
--- a/mpeglib/lib/mpegplay/mpegSystemHeader.h
+++ b/mpeglib/lib/mpegplay/mpegSystemHeader.h
@@ -452,7 +452,7 @@ class MpegSystemHeader {
int getPESPacketLen();
void setPESPacketLen(int packetLen);
- // rest lenght of TS packet.
+ // rest length of TS packet.
int getTSPacketLen();
void setTSPacketLen(int packetLen);