Merge commit 'a7c1689dedd11689edb30088d467ac03f9b8d1cf'
* commit 'a7c1689dedd11689edb30088d467ac03f9b8d1cf': 4xm: check that bits per sample is strictly positive Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
bdb4ed963f
@ -150,7 +150,7 @@ static int parse_strk(AVFormatContext *s,
|
||||
|
||||
if (fourxm->tracks[track].channels <= 0 ||
|
||||
fourxm->tracks[track].sample_rate <= 0 ||
|
||||
fourxm->tracks[track].bits < 0) {
|
||||
fourxm->tracks[track].bits <= 0) {
|
||||
av_log(s, AV_LOG_ERROR, "audio header invalid\n");
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user