summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libavformat/bink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/bink.c b/libavformat/bink.c
index 60f4081..79c3a25 100644
--- a/libavformat/bink.c
+++ b/libavformat/bink.c
@@ -143,7 +143,8 @@ static int read_header(AVFormatContext *s, AVFormatParameters *ap)
ast->codec->channels = flags & BINK_AUD_STEREO ? 2 : 1;
}
- url_fskip(pb, 4 * bink->num_audio_tracks);
+ for (i = 0; i < bink->num_audio_tracks; i++)
+ s->streams[i + 1]->id = avio_rl32(pb);
}
/* frame index table */
OpenPOWER on IntegriCloud