From 1105e61f292fd61a6316a4b83439dbaa29c102fd Mon Sep 17 00:00:00 2001 From: Brice Jaglin Date: Wed, 16 Jan 2013 18:02:58 +0100 Subject: decoder/ffmpeg: support float planar audio --- src/decoder/ffmpeg_decoder_plugin.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/decoder/ffmpeg_decoder_plugin.c b/src/decoder/ffmpeg_decoder_plugin.c index 72a5ff34..4c4cb2b8 100644 --- a/src/decoder/ffmpeg_decoder_plugin.c +++ b/src/decoder/ffmpeg_decoder_plugin.c @@ -395,6 +395,11 @@ ffmpeg_sample_format(enum AVSampleFormat sample_fmt) #endif return SAMPLE_FORMAT_S32; +#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51,17,0) + case AV_SAMPLE_FMT_FLTP: + return SAMPLE_FORMAT_FLOAT; +#endif + default: break; } -- cgit v1.2.3