Commit e666c2b5 authored by James Almer's avatar James Almer

Merge commit '8e67039c'

* commit '8e67039c':
  asfdec: Use the ASF stream count when iterating
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 0c005fa8 8e67039c
......@@ -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 &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment