avformat/lafdec: Fix shadowing

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-03-17 22:51:27 +01:00
parent aa8c7dc3d8
commit cee70b9f1b
1 changed files with 2 additions and 2 deletions

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)