1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

avformat/mlpdec: Remove unused-but-set variable

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-06-28 12:23:31 +02:00
parent 204a72d7c4
commit 309ead7067

View File

@ -34,12 +34,11 @@
static int av_always_inline mlp_thd_probe(const AVProbeData *p, uint32_t sync)
{
const uint8_t *buf, *last_buf = p->buf, *end = p->buf + p->buf_size;
int frames = 0, valid = 0, size = 0;
int valid = 0, size = 0;
int nsubframes = 0;
for (buf = p->buf; buf + 8 <= end; buf++) {
if (AV_RB32(buf + 4) == sync) {
frames++;
if (last_buf + size == buf) {
valid += 1 + nsubframes / 8;
}