Browse Source

Merge commit '8e67039c6312ba520945f2c01b7b14df056d5ed1'

* commit '8e67039c6312ba520945f2c01b7b14df056d5ed1':
  asfdec: Use the ASF stream count when iterating

Merged-by: James Almer <jamrial@gmail.com>
tags/n3.4
James Almer 7 years ago
parent
commit
e666c2b5ec
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/asfdec_o.c

+ 1
- 1
libavformat/asfdec_o.c View File

@@ -1485,7 +1485,7 @@ static int asf_read_packet(AVFormatContext *s, AVPacket *pkt)
asf->return_subpayload = 0;
return 0;
}
for (i = 0; i < s->nb_streams; i++) {
for (i = 0; i < asf->nb_streams; i++) {
ASFPacket *asf_pkt = &asf->asf_st[i]->pkt;
if (asf_pkt && !asf_pkt->size_left && asf_pkt->data_size) {
if (asf->asf_st[i]->span > 1 &&


Loading…
Cancel
Save