]>
Commit | Line | Data |
---|---|---|
8b5f865f AF |
1 | From 1105e61f292fd61a6316a4b83439dbaa29c102fd Mon Sep 17 00:00:00 2001 |
2 | From: Brice Jaglin <bjaglin@free.fr> | |
3 | Date: Wed, 16 Jan 2013 17:02:58 +0000 | |
4 | Subject: decoder/ffmpeg: support float planar audio | |
5 | ||
6 | --- | |
7 | diff --git a/src/decoder/ffmpeg_decoder_plugin.c b/src/decoder/ffmpeg_decoder_plugin.c | |
8 | index 72a5ff3..4c4cb2b 100644 | |
9 | --- a/src/decoder/ffmpeg_decoder_plugin.c | |
10 | +++ b/src/decoder/ffmpeg_decoder_plugin.c | |
11 | @@ -395,6 +395,11 @@ ffmpeg_sample_format(enum AVSampleFormat sample_fmt) | |
12 | #endif | |
13 | return SAMPLE_FORMAT_S32; | |
14 | ||
15 | +#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51,17,0) | |
16 | + case AV_SAMPLE_FMT_FLTP: | |
17 | + return SAMPLE_FORMAT_FLOAT; | |
18 | +#endif | |
19 | + | |
20 | default: | |
21 | break; | |
22 | } | |
23 | -- | |
24 | cgit v0.9.0.3-66-g3205 |