]> git.pld-linux.org Git - packages/mpd.git/blob - mpd-ffmpeg2.patch
- up to 0.17.6
[packages/mpd.git] / mpd-ffmpeg2.patch
1 Fix build with FFmpeg 2.0.
2
3 Upstream status: Better patch sent and merged upstream.
4
5 Index: mpd-0.17.4/src/decoder/ffmpeg_decoder_plugin.c
6 ===================================================================
7 --- mpd-0.17.4.orig/src/decoder/ffmpeg_decoder_plugin.c
8 +++ mpd-0.17.4/src/decoder/ffmpeg_decoder_plugin.c
9 @@ -47,6 +47,10 @@
10  #undef G_LOG_DOMAIN
11  #define G_LOG_DOMAIN "ffmpeg"
12  
13 +#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
14 +#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 // 1 second of 48khz 32bit audio
15 +#endif
16 +
17  static GLogLevelFlags
18  level_ffmpeg_to_glib(int level)
19  {
This page took 0.077522 seconds and 3 git commands to generate.