diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-16 23:33:50 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-16 23:33:50 +0200 |
| commit | 5a649b6d803697388925d7cd64ec5f0da345f865 (patch) | |
| tree | e3274d52aadfcfc505a27f51f52c74ce59c07a3f /src/lib/ffmpeg_decoder.cc | |
| parent | 95c48153421b1a6e0d7ca6cf5e67cd7623c03dc7 (diff) | |
Added some FIXMEs.
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
| -rw-r--r-- | src/lib/ffmpeg_decoder.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index 350362478..cfaf0361b 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -210,6 +210,9 @@ FFmpegDecoder::deinterleave_audio (shared_ptr<FFmpegAudioStream> stream) const 0, stream->stream(_format_context)->codec->channels, _frame->nb_samples, audio_sample_format (stream), 1 ); + /* XXX: can't we just use _frame->nb_samples directly here? */ + /* XXX: can't we use swr_convert() to do the format conversion? */ + /* Deinterleave and convert to float */ /* total_samples and frames will be rounded down here, so if there are stray samples at the end |
