Commit 008accd0 authored by Christophe Massiot's avatar Christophe Massiot

Not sure the buffer was large enough.

parent 84940e96
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* mpeg_audio.c: parse MPEG audio sync info and packetize the stream * mpeg_audio.c: parse MPEG audio sync info and packetize the stream
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2003 VideoLAN * Copyright (C) 2001-2003 VideoLAN
* $Id: mpeg_audio.c,v 1.8 2003/01/28 23:38:24 fenrir Exp $ * $Id: mpeg_audio.c,v 1.9 2003/01/28 23:55:57 massiot Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org> * Eric Petit <titer@videolan.org>
...@@ -57,7 +57,7 @@ typedef struct dec_thread_t ...@@ -57,7 +57,7 @@ typedef struct dec_thread_t
audio_sample_format_t output_format; audio_sample_format_t output_format;
} dec_thread_t; } dec_thread_t;
#define MAX_FRAME_SIZE (511 + 4032) #define MAX_FRAME_SIZE 10000
/* This isn't the place to put mad-specific stuff. However, it makes the /* 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 * 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 * buffer, because that way it doesn't have to copy the aout_buffer_t to a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment