aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-23 20:51:08 +0100
committerMax Kellermann <max@duempel.org>2014-12-23 20:51:08 +0100
commita56949e9faa691ef6f1002744aa3fbfeb6dae47c (patch)
tree3c9eee2d6064e666faec0295f6253ddb2c395395
parent43da4c0ecaf23ebb7b282bdfe3b5c6bfc3ab6c41 (diff)
downloadmpd-a56949e9faa691ef6f1002744aa3fbfeb6dae47c.tar.gz
mpd-a56949e9faa691ef6f1002744aa3fbfeb6dae47c.tar.xz
mpd-a56949e9faa691ef6f1002744aa3fbfeb6dae47c.zip
decoder/ffmpeg: support interleaved floating point
Diffstat (limited to '')
-rw-r--r--NEWS1
-rw-r--r--src/decoder/plugins/FfmpegDecoderPlugin.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f09d77217..3443e503f 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ ver 0.19.8 (not yet released)
- mms: reduce delay at the beginning of playback
* decoder
- dsdiff, dsf: allow ID3 tags larger than 4 kB
+ - ffmpeg: support interleaved floating point
ver 0.19.7 (2014/12/17)
* input
diff --git a/src/decoder/plugins/FfmpegDecoderPlugin.cxx b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
index 494f4048b..722f954e2 100644
--- a/src/decoder/plugins/FfmpegDecoderPlugin.cxx
+++ b/src/decoder/plugins/FfmpegDecoderPlugin.cxx
@@ -374,6 +374,7 @@ ffmpeg_sample_format(enum AVSampleFormat sample_fmt)
case AV_SAMPLE_FMT_S32P:
return SampleFormat::S32;
+ case AV_SAMPLE_FMT_FLT:
case AV_SAMPLE_FMT_FLTP:
return SampleFormat::FLOAT;