mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
bink: decode audio track identifiers into AVStream.id
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 588a3ffd96)
This commit is contained in:
parent
4913af0cd3
commit
6a22f82cc6
1 changed files with 2 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue