From d2fc88a49ddb99863a42e9b7953f920f5b28b944 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 5 Apr 2012 13:18:46 -0500 Subject: Fix typos. --- mpeglib/lib/decoder/splayPlugin.cpp | 8 ++++---- mpeglib/lib/decoder/splayPlugin.h | 2 +- mpeglib/lib/mpegplay/mpegSystemHeader.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'mpeglib') 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); -- cgit v1.2.3