decoder/ffmpeg: support float planar audio
This commit is contained in:
parent
905d493fd7
commit
1105e61f29
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue