History

avformat/lafdec: Fix shadowing

Andreas Rheinhardt committed 2 years ago

Commit cee70b91 parent aa8c7dc1 file · +2 −2Browse files

Unified · Split

libavformat/lafdec.c+2−2
@@ -148,8 +148,8 @@ static int laf_read_header(AVFormatContext *ctx) · 147 unmodified lines
148 if (!s->data)148 if (!s->data)
149 return AVERROR(ENOMEM);149 return AVERROR(ENOMEM);
150 150
151 for (int st = 0; st < st_count; st++) {151 for (unsigned i = 0; i < st_count; i++) {
152 StreamParams *stp = &s->p[st];152 StreamParams *stp = &s->p[i];
153 AVCodecParameters *par;153 AVCodecParameters *par;
154 AVStream *st = avformat_new_stream(ctx, NULL);154 AVStream *st = avformat_new_stream(ctx, NULL);
155 if (!st)155 if (!st)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t