- fix for ffmpeg missing SAMPLE_FMT_DBL (from http://www.nabble.com/Build-error-in...
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 4 Dec 2006 23:29:50 +0000 (23:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    akode-ffmpeg.patch -> 1.1

akode-ffmpeg.patch [new file with mode: 0644]

diff --git a/akode-ffmpeg.patch b/akode-ffmpeg.patch
new file mode 100644 (file)
index 0000000..4d7ab52
--- /dev/null
@@ -0,0 +1,29 @@
+http://bugs.kde.org/show_bug.cgi?id=131987
+
+--- akode/plugins/ffmpeg_decoder/ffmpeg_decoder.cpp     2006-08-07 06:26:10.000000000 +0500 
++++ akode/plugins/ffmpeg_decoder/ffmpeg_decoder.cpp.new 2006-08-07 06:29:24.000000000 +0500 
+@@ -117,18 +117,21 @@
+     if (config->channels > 2) return false;
+     config->channel_config = MonoStereo;
+     switch(codec_context->sample_fmt) {
++        case SAMPLE_FMT_U8: 
++            config->sample_width = 8; 
++            break; 
+         case SAMPLE_FMT_S16:
+             config->sample_width = 16;
+             break;
++        case SAMPLE_FMT_S24: 
++            config->sample_width = 24; 
++            break; 
+         case SAMPLE_FMT_S32:
+             config->sample_width = 32;
+             break;
+         case SAMPLE_FMT_FLT:
+             config->sample_width = -32;
+             break;
+-        case SAMPLE_FMT_DBL:
+-            config->sample_width = -64;
+-            break;
+         default:
+             return false;;
+      }
This page took 0.077892 seconds and 4 git commands to generate.