asfdec: do not assume every AVStream has a corresponding ASFStream
commit1ef0e8a6bf894974445e303c6e428aac7f0aaa75
authorAnton Khirnov <anton@khirnov.net>
Fri, 8 Feb 2013 12:54:36 +0000 (8 13:54 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 9 Feb 2013 17:57:21 +0000 (9 18:57 +0100)
tree504bf7a8874c919b38a8d404cb78c8ec5a815558
parentf5fac6f77752931347ab302563802dcaa49c2419
asfdec: do not assume every AVStream has a corresponding ASFStream

This won't be true for ID3 attached picture.

Also stop allocating now useless dummy ASFStreams for ASF native
attached pictures.
libavformat/asfdec.c