mirror of https://git.ffmpeg.org/ffmpeg.git
Make Bink demuxer skip all zero audio tracks, not only the first one
Originally committed as revision 21908 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7fa78f49f0
commit
8cdfa4747b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue