diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-10-01 12:04:12 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-10-01 12:04:12 +0200 |
| commit | dba7e1137282b52a1bd6ad1d56fe6371a8c97e30 (patch) | |
| tree | 3a640d849c45d583a853900fa0c1fc6392f919ec /src/lib/ffmpeg_decoder.h | |
| parent | 3d369d6ce80caf87520237f4e8009b7fd55aa91b (diff) | |
Fix checking of frame channels vs stream channels.
The comment says that we're handling differences between channel
counts in the frame and stream but the code wasn't doing that.
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
| -rw-r--r-- | src/lib/ffmpeg_decoder.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index ce2476fb0..e1a023453 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -59,8 +59,6 @@ private: bool flush (); - static std::shared_ptr<AudioBuffers> deinterleave_audio (AVFrame* frame); - AVSampleFormat audio_sample_format (std::shared_ptr<FFmpegAudioStream> stream) const; int bytes_per_audio_sample (std::shared_ptr<FFmpegAudioStream> stream) const; |
