提交 588a3ffd 编写于 作者: P Peter Ross 提交者: Ronald S. Bultje

bink: decode audio track identifiers into AVStream.id

Signed-off-by: NRonald S. Bultje <rsbultje@gmail.com>
上级 ccfcddb3
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册