Commit 84940e96 authored by Laurent Aimar's avatar Laurent Aimar

* mpeg_audio.c : due to mpeg 2.5, max frame size is twice as I though.

parent 096fc22a
...@@ -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.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> * 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 + 2048) #define MAX_FRAME_SIZE (511 + 4032)
/* 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