mmplugins/mmfwplugins/src/Plugin/Controller/Video/AviPlayController/srtdecoder/srtdecoder.cpp
changeset 4 9d4397b300d1
parent 0 b8ed18f6c07b
--- a/mmplugins/mmfwplugins/src/Plugin/Controller/Video/AviPlayController/srtdecoder/srtdecoder.cpp	Thu Oct 07 23:44:30 2010 +0100
+++ b/mmplugins/mmfwplugins/src/Plugin/Controller/Video/AviPlayController/srtdecoder/srtdecoder.cpp	Mon Oct 18 12:47:26 2010 +0100
@@ -89,7 +89,7 @@
 void CSrtSubtitleDecoder::ConstructL()
     {
     iFrameParser = CSrtFrame::NewL();
-    iDecodeBuffer.Create(KSubtitleDecoderBufferLength);
+    iDecodeBuffer.CreateL(KSubtitleDecoderBufferLength);
     }
     
 EXPORT_C TInt CSrtSubtitleDecoder::CalculateSubtitleRegion(const TRect& aScreenSize, TRect& aSubtitleRegion)