]> git.sesse.net Git - vlc/commitdiff
* mpeg_audio.c : due to mpeg 2.5, max frame size is twice as I though.
authorLaurent Aimar <fenrir@videolan.org>
Tue, 28 Jan 2003 23:38:24 +0000 (23:38 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 28 Jan 2003 23:38:24 +0000 (23:38 +0000)
modules/codec/mpeg_audio.c

index 1ded57bb1d8dd2f2cdebb18f8fd0a95403843bae..3e14602d6d460dc390a140da619d89aed4c9f5ff 100644 (file)
@@ -2,7 +2,7 @@
  * mpeg_audio.c: parse MPEG audio sync info and packetize the stream
  *****************************************************************************
  * Copyright (C) 2001-2003 VideoLAN
- * $Id: mpeg_audio.c,v 1.7 2003/01/28 21:17:34 fenrir Exp $
+ * $Id: mpeg_audio.c,v 1.8 2003/01/28 23:38:24 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *          Eric Petit <titer@videolan.org>
@@ -57,7 +57,7 @@ typedef struct dec_thread_t
     audio_sample_format_t output_format;
 } dec_thread_t;
 
-#define MAX_FRAME_SIZE (511 + 2048)
+#define MAX_FRAME_SIZE (511 + 4032)
 /* This isn't the place to put mad-specific stuff. However, it makes the
  * mad plug-in's life much easier if we put 8 extra bytes at the end of the
  * buffer, because that way it doesn't have to copy the aout_buffer_t to a