On 14/01/2017 21:44, Luca Barbato wrote:
> On 14/01/2017 20:36, John Stebbins wrote:
>> I can't tell you the exact reasons, but with the sample, 2 AVStreams
>> are created with asf_read_stream_properties 1 AVStream is created
>> with asf_read_picture and 1 AVStream is created with
>> ff_id3v2_parse_apic. The one created with ff_id3v2_parse_apic does
>> not have a corresponding AFStream.
> 
> I see... a single stream audio with a cover put using id3... The patch
> is ok anyway.

I'd push it with

    asfdec: Use the ASF stream count when iterating

    The AVFormat stream count can be larger due external factors, such
    as an id3 tag appended.

    Avoid an out of bound read.

If you have better wording that's the time :P

lu

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to