Commit 1105e61f authored by Brice Jaglin's avatar Brice Jaglin Committed by Max Kellermann

decoder/ffmpeg: support float planar audio

parent 905d493f
ver 0.17.4 (2013/??/??)
* decoder:
- ffmpeg: support float planar audio (ffmpeg 1.1)
ver 0.17.3 (2013/01/06)
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment