Skip to content
Snippets Groups Projects
Commit ab553612 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

put_bits: switch assert to av_assert2()

parent 3fb945a9
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/log.h"
#include "libavutil/avassert.h"
#include "mathops.h"
#include "config.h"
......@@ -131,7 +132,7 @@ static inline void put_bits(PutBitContext *s, int n, unsigned int value)
int bit_left;
// printf("put_bits=%d %x\n", n, value);
assert(n <= 31 && value < (1U << n));
av_assert2(n <= 31 && value < (1U << n));
bit_buf = s->bit_buf;
bit_left = s->bit_left;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment