projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccfcddb
)
bink: decode audio track identifiers into AVStream.id
author
Peter Ross
<pross@xvid.org>
Sun, 20 Feb 2011 02:15:38 +0000
(13:15 +1100)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Fri, 25 Feb 2011 20:24:35 +0000
(15:24 -0500)
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavformat/bink.c
patch
|
blob
|
history
diff --git
a/libavformat/bink.c
b/libavformat/bink.c
index
60f4081
..
79c3a25
100644
(file)
--- 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 */