Commit 3e33db3f authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'e30b068e'

* commit 'e30b068e':
  wmapro: make sure there is room to store the current packet

The check is replaced by an assert as it is impossible to occur
See: 780d4547Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents c1343897 e30b068e
......@@ -1469,6 +1469,8 @@ static void save_bits(WMAProDecodeCtx *s, GetBitContext* gb, int len,
return;
}
av_assert0(len <= put_bits_left(&s->pb));
s->num_saved_bits += len;
if (!append) {
avpriv_copy_bits(&s->pb, gb->buffer + (get_bits_count(gb) >> 3),
......
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