aboutsummaryrefslogtreecommitdiffstats
path: root/examples/alffplay.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-03-30 05:01:42 -0700
committerChris Robinson <[email protected]>2022-03-30 05:01:42 -0700
commit4999b5716cfbe95f3e8ed5e9dc3014c3ec8652c8 (patch)
tree462e3eb828532d9f78e826d810a025195b71d9da /examples/alffplay.cpp
parent6718a49486b307ad938b707549ac1dfb78504300 (diff)
Remove a dead store
Diffstat (limited to 'examples/alffplay.cpp')
-rw-r--r--examples/alffplay.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/alffplay.cpp b/examples/alffplay.cpp
index 806ef10c..c557362a 100644
--- a/examples/alffplay.cpp
+++ b/examples/alffplay.cpp
@@ -819,7 +819,6 @@ bool AudioState::readAudio(uint8_t *samples, unsigned int length, int &sample_sk
std::fill_n(samples, rem*mFrameSize,
(mDstSampleFmt == AV_SAMPLE_FMT_U8) ? 0x80 : 0x00);
mCurrentPts += nanoseconds{seconds{rem}} / mCodecCtx->sample_rate;
- audio_size += rem;
}
return true;
}