diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-04-22 11:31:06 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-04 11:02:10 +0100 |
commit | 6fd304e5e6c8b386d3671f4932a74124fd37192a (patch) | |
tree | 0110c5339a4fe42276017f1fd74373baa1e25f22 /src/decoder/ffmpeg_decoder_plugin.c | |
parent | d3018bfbb5f5712e6fe0f7ce534a362a0518d2c2 (diff) |
Switch from autotools to a custom build system adapted from Libav.
Diffstat (limited to 'src/decoder/ffmpeg_decoder_plugin.c')
-rw-r--r-- | src/decoder/ffmpeg_decoder_plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/decoder/ffmpeg_decoder_plugin.c b/src/decoder/ffmpeg_decoder_plugin.c index b6309440..cffbefcc 100644 --- a/src/decoder/ffmpeg_decoder_plugin.c +++ b/src/decoder/ffmpeg_decoder_plugin.c @@ -285,6 +285,7 @@ ffmpeg_send_packet(struct decoder *decoder, struct input_stream *is, #endif #if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(53,25,0) +#define AVCODEC_MAX_AUDIO_FRAME_SIZE 50000 uint8_t aligned_buffer[(AVCODEC_MAX_AUDIO_FRAME_SIZE * 3) / 2 + 16]; const size_t buffer_size = sizeof(aligned_buffer); #else |