avformat/lafdec: Fix shadowing

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
release/7.0
Andreas Rheinhardt 11 months ago
parent aa8c7dc3d8
commit cee70b9f1b
  1. 4
      libavformat/lafdec.c

@ -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)

Loading…
Cancel
Save