Module: libav Branch: release/12 Commit: 5e41f20f8cd33fb2d9634fa4e7e038480f99d7a4
Author: Sean McGovern <[email protected]> Committer: Sean McGovern <[email protected]> Date: Wed Nov 1 20:45:20 2017 -0400 matroskadec: allow RealAudio/Cook/Sipro streams of flavor 0 Regression since 569d18aa9dc989c37bb4d4b968026fe5afa6fff9. Bug-Id: 1055 Cc: [email protected] (cherry picked from commit fbca6e7d162b9a7105d1059826dfe96616fa803a) Signed-off-by: Sean McGovern <[email protected]> --- libavformat/matroskadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 54c2b9a..02dbfe9 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1797,7 +1797,7 @@ static int matroska_parse_tracks(AVFormatContext *s) track->audio.sub_packet_h = avio_rb16(&b); track->audio.frame_size = avio_rb16(&b); 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 || _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
