Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi,

this removes the unreadVariable lame_frame_size in
./filters/filter/source/flash/swfwriter.cxx<http://libreoffice.boldandbusted.com/269.html>

-- Kenneth
From 10e64f12f50fb2186676b053d9d130fdbccaf91b Mon Sep 17 00:00:00 2001
From: Kenneth Venken <kenneth.venken@gmail.com>
Date: Sun, 30 Jan 2011 01:32:09 +0100
Subject: [PATCH] unread variable

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

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);
 
-- 
1.7.1


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.