summaryrefslogtreecommitdiffstats
path: root/mpeglib
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-05 13:18:46 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-05 13:18:46 -0500
commitd2fc88a49ddb99863a42e9b7953f920f5b28b944 (patch)
tree2c0d6c75395919eff211bc005544bdf6272aaf11 /mpeglib
parent447ec7dc0dabca83f70632ab66cfdba80835a703 (diff)
downloadtdemultimedia-d2fc88a49ddb99863a42e9b7953f920f5b28b944.tar.gz
tdemultimedia-d2fc88a49ddb99863a42e9b7953f920f5b28b944.zip
Fix typos.
Diffstat (limited to 'mpeglib')
-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);