added minimum for decoder buffer
also : introduced macro BOUNDED()
This commit is contained in:
1 parent
02be2a830f
commit
518f06b281
5 files changed
+8
-6
No files matched your search
@@ -57,6 +57,7 @@ extern "C" {
|
||||
#undef MAX
|
||||
#define MIN(a,b) ((a)<(b) ? (a) : (b))
|
||||
#define MAX(a,b) ((a)>(b) ? (a) : (b))
|
||||
#define BOUNDED(min,val,max) (MAX(min,MIN(val,max)))
|
||||
|
||||
|
||||
/*-*************************************
|
||||
|
||||
Reference in new issue
Block a user