mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 12:50:49 +08:00
avformat/lafdec: Fix shadowing
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -199,13 +199,8 @@ again:
|
||||
uint8_t val = s->header[i];
|
||||
|
||||
for (int j = 0; j < 8 && cur_st < ctx->nb_streams; j++, cur_st++) {
|
||||
StreamParams *stp = &s->p[st_index];
|
||||
|
||||
stp->stored = 0;
|
||||
if (val & 1) {
|
||||
stp->stored = 1;
|
||||
st_count++;
|
||||
}
|
||||
s->p[st_index].stored = val & 1;
|
||||
st_count += val & 1;
|
||||
val >>= 1;
|
||||
st_index++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user