Unified · Split
| @@ -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) |