[libav-devel] [PATCH] matroskadec: allow RealAudio/Cook/Sipro streams of flavor 0

Sean McGovern gseanmcg at gmail.com
Mon Nov 6 23:27:58 CET 2017


Hi Diego,

On Sat, Nov 4, 2017 at 3:10 PM, Diego Biurrun <diego at biurrun.de> wrote:
> On Sat, Nov 04, 2017 at 02:15:59PM -0400, Sean McGovern wrote:
>> --- a/libavformat/matroskadec.c
>> +++ b/libavformat/matroskadec.c
>> @@ -1916,7 +1916,7 @@ static int matroska_parse_tracks(AVFormatContext *s)
>>              track->audio.sub_packet_size = avio_rb16(&b);
>> -            if (flavor                       <= 0 ||
>> +            if (flavor                       < 0 ||
>>                  track->audio.coded_framesize <= 0 ||
>>                  track->audio.sub_packet_h    <= 0 ||
>>                  track->audio.frame_size      <= 0 ||
>
> Please maintain the previous vertical alignment.
>
> Diego

Fixed locally and will push shortly.

-- Sean McG.


More information about the libav-devel mailing list