avformat/lafdec: Fix shadowing

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2024-03-17 22:51:27 +01:00 committed by Paul B Mahol
parent 47be7a9120
commit f72db93634

View File

@ -148,8 +148,8 @@ static int laf_read_header(AVFormatContext *ctx)
if (!s->data)
return AVERROR(ENOMEM);
for (int st = 0; st < st_count; st++) {
StreamParams *stp = &s->p[st];
for (unsigned i = 0; i < st_count; i++) {
StreamParams *stp = &s->p[i];
AVCodecParameters *par;
AVStream *st = avformat_new_stream(ctx, NULL);
if (!st)