ref: 3a89986b4cc7108f727992e22641477c853d5d76
parent: 4035bdd6d3cedb3f7dcd63fb37f75896db86480e
author: menno <menno>
date: Fri Dec 6 05:42:55 EST 2002
Dithered output works!
--- a/plugins/in_mp4/in_mp4.c
+++ b/plugins/in_mp4/in_mp4.c
@@ -16,7 +16,7 @@
** along with this program; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
**
-** $Id: in_mp4.c,v 1.21 2002/12/06 10:24:33 menno Exp $
+** $Id: in_mp4.c,v 1.22 2002/12/06 10:42:55 menno Exp $
**/
#define WIN32_LEAN_AND_MEAN
@@ -434,6 +434,10 @@
return -1;
}
+ config = faacDecGetCurrentConfiguration(mp4state.hDecoder);
+ config->outputFormat = m_resolution + 1;
+ faacDecSetConfiguration(mp4state.hDecoder, config);
+
if (mp4state.filetype)
{
long pos, tmp, read, tagsize;
@@ -551,10 +555,6 @@
module.is_seekable = 1;
}
-
- config = faacDecGetCurrentConfiguration(mp4state.hDecoder);
- config->outputFormat = m_resolution + 1;
- faacDecSetConfiguration(mp4state.hDecoder, config);
if (mp4state.channels == 0)
{