Commit bdb4ed96 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'a7c1689d'

* commit 'a7c1689d':
  4xm: check that bits per sample is strictly positive
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents a5d67bc7 a7c1689d
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment