git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make Bink demuxer skip all zero audio tracks, not only the first one
[ffmpeg.git]
/
libavformat
/
bink.c
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,