mirror of
https://github.com/librempeg/librempeg
synced 2024-11-25 11:42:59 +00:00
avformat/lafdec: Fix shadowing
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
47be7a9120
commit
f72db93634
@ -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…
Reference in New Issue
Block a user