diff options
Diffstat (limited to 'www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-audio-resample.patch')
-rw-r--r-- | www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-audio-resample.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-audio-resample.patch b/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-audio-resample.patch deleted file mode 100644 index 675b6eec6fba..000000000000 --- a/www-plugins/gnash/files/gnash-0.8.9-no-deprecated-avcodec-audio-resample.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -ur a/libmedia/ffmpeg/AudioResamplerFfmpeg.cpp b/libmedia/ffmpeg/AudioResamplerFfmpeg.cpp ---- a/libmedia/ffmpeg/AudioResamplerFfmpeg.cpp 2011-02-26 19:11:08.000000000 +0100 -+++ b/libmedia/ffmpeg/AudioResamplerFfmpeg.cpp 2011-07-02 22:45:54.804995296 +0200 -@@ -46,8 +46,10 @@ - { - if ( (ctx->sample_rate != 44100) || (ctx->channels != 2) ) { - if ( ! _context ) { -- _context = audio_resample_init( -- 2, ctx->channels, 44100, ctx->sample_rate -+ _context = av_audio_resample_init( -+ 2, ctx->channels, 44100, ctx->sample_rate, -+ AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_S16, -+ 16, 10, 0, 0.8 - ); - } - |