diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-17 22:51:27 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-26 06:36:43 +0100 |
commit | cee70b9f1b378ae1ea6c4aaa7178d89f39768ea8 (patch) | |
tree | f718f29c44f93b9da239a582616e5261653e56ae /libavformat/lafdec.c | |
parent | aa8c7dc3d8d5312954d7a13486fa0cdedfc31c7f (diff) | |
download | ffmpeg-cee70b9f1b378ae1ea6c4aaa7178d89f39768ea8.tar.gz |
avformat/lafdec: Fix shadowing
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/lafdec.c')
-rw-r--r-- | libavformat/lafdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/lafdec.c b/libavformat/lafdec.c index 05f30691ba..77eab2ea6b 100644 --- a/libavformat/lafdec.c +++ b/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) |