projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f6c6232
)
Cleanup: remove unused variable.
author
Carl Hetherington
<cth@carlh.net>
Tue, 15 Aug 2023 13:11:49 +0000
(15:11 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 15 Aug 2023 13:11:49 +0000
(15:11 +0200)
src/lib/ffmpeg_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_decoder.cc
b/src/lib/ffmpeg_decoder.cc
index 477dcda1988371b271eb2bcaa1c943c1d630eb27..efe1515302dcfc5170119030aacd01f9b8b03fd1 100644
(file)
--- a/
src/lib/ffmpeg_decoder.cc
+++ b/
src/lib/ffmpeg_decoder.cc
@@
-254,7
+254,7
@@
FFmpegDecoder::pass ()
*/
static
shared_ptr<AudioBuffers>
*/
static
shared_ptr<AudioBuffers>
-deinterleave_audio(
shared_ptr<FFmpegAudioStream> stream,
AVFrame* frame)
+deinterleave_audio(AVFrame* frame)
{
auto format = static_cast<AVSampleFormat>(frame->format);
{
auto format = static_cast<AVSampleFormat>(frame->format);
@@
-476,7
+476,7
@@
void
FFmpegDecoder::process_audio_frame (shared_ptr<FFmpegAudioStream> stream)
{
auto frame = audio_frame (stream);
FFmpegDecoder::process_audio_frame (shared_ptr<FFmpegAudioStream> stream)
{
auto frame = audio_frame (stream);
- auto data = deinterleave_audio(
stream,
frame);
+ auto data = deinterleave_audio(frame);
auto const time_base = stream->stream(_format_context)->time_base;
auto const time_base = stream->stream(_format_context)->time_base;