OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fa78f4
)
Make Bink demuxer skip all zero audio tracks, not only the first one
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Fri, 19 Feb 2010 22:10:04 +0000
(22:10 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Fri, 19 Feb 2010 22:10:04 +0000
(22:10 +0000)
Originally committed as revision 21908 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/bink.c
patch
|
blob
|
history
diff --git
a/libavformat/bink.c
b/libavformat/bink.c
index
7d69387
..
5822875
100644
(file)
--- a/
libavformat/bink.c
+++ b/
libavformat/bink.c
@@
-197,7
+197,7
@@
static int read_packet(AVFormatContext *s, AVPacket *pkt)
bink->current_track = 0;
}
-
if
(bink->current_track < bink->num_audio_tracks) {
+
while
(bink->current_track < bink->num_audio_tracks) {
uint32_t audio_size = get_le32(pb);
if (audio_size > bink->remain_packet_size - 4) {
av_log(s, AV_LOG_ERROR,