mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
* use larger buffer - the size should be calculcated from the bitstream
data rate and outgoing samples (i.e. WMA could generate a lot of samples from 4096KB chunks) FIXME Originally committed as revision 1169 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e2e6cfd021
commit
ff29712a3d
2
ffmpeg.c
2
ffmpeg.c
@ -301,7 +301,7 @@ static void do_audio_out(AVFormatContext *s,
|
||||
{
|
||||
UINT8 *buftmp;
|
||||
UINT8 audio_buf[2*MAX_AUDIO_PACKET_SIZE]; /* XXX: allocate it */
|
||||
UINT8 audio_out[MAX_AUDIO_PACKET_SIZE]; /* XXX: allocate it */
|
||||
UINT8 audio_out[4*MAX_AUDIO_PACKET_SIZE]; /* XXX: allocate it - yep really WMA */
|
||||
int size_out, frame_bytes, ret;
|
||||
AVCodecContext *enc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user