[Libreoffice-commits] .: filter/source

Caolán McNamara caolan at kemper.freedesktop.org
Sun Jan 30 13:37:40 PST 2011


 filter/source/flash/swfwriter.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 2d5605fa12f35f170b5c5e412f3f1ea7a4752ab6
Author: Kenneth Venken <kenneth.venken at gmail.com>
Date:   Sun Jan 30 01:32:09 2011 +0100

    unread variable

diff --git a/filter/source/flash/swfwriter.cxx b/filter/source/flash/swfwriter.cxx
index bd8daa0..5be1290 100644
--- a/filter/source/flash/swfwriter.cxx
+++ b/filter/source/flash/swfwriter.cxx
@@ -515,7 +515,6 @@ sal_Bool Writer::streamSound( const char * filename )
         if (ret_code < 0)
             throw 0;
 
-        int lame_frame_size = lame_get_framesize(m_lame_flags);
         int samples_per_frame = 22050 / 12; // AS: (samples/sec) / (frames/sec) = samples/frame
         int mp3buffer_size = static_cast<int>(samples_per_frame*1.25 + 7200 + 7200);
 
@@ -583,7 +582,7 @@ sal_Bool Writer::streamSound( const char * filename )
 
             SvMemoryStream strm(mp3buffer, ret + ret2, STREAM_READWRITE);
 
-            mpTag->addUI16(samples_to_write); //lame_frame_size);
+            mpTag->addUI16(samples_to_write);
             mpTag->addUI16(0);
             mpTag->addStream(strm);
 


More information about the Libreoffice-commits mailing list