From a56949e9faa691ef6f1002744aa3fbfeb6dae47c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 23 Dec 2014 20:51:08 +0100 Subject: decoder/ffmpeg: support interleaved floating point --- NEWS | 1 + src/decoder/plugins/FfmpegDecoderPlugin.cxx | 1 + 2 files changed, 2 insertions(+) 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; -- cgit v1.2.3