diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-18 18:39:17 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-18 18:39:17 +0200 |
commit | 88f87ebaa38986be1f6355efe471a27d4ef9c6f5 (patch) | |
tree | 8795e82892a68cb3586a9793da547d7f55472842 /libavutil/qsort.h | |
parent | 3a0a2f33a6c955823fa4fb12c0b49cd29a496659 (diff) | |
download | ffmpeg-88f87ebaa38986be1f6355efe471a27d4ef9c6f5.tar.gz |
qsort: add some forgotten ()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/qsort.h')
-rw-r--r-- | libavutil/qsort.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/qsort.h b/libavutil/qsort.h index ca66c5fb62..0b352cf164 100644 --- a/libavutil/qsort.h +++ b/libavutil/qsort.h @@ -25,7 +25,7 @@ void *stack[64][2];\ int sp= 1;\ stack[0][0] = p;\ - stack[0][1] = p+num-1;\ + stack[0][1] = (p)+(num)-1;\ while(sp){\ type *start= stack[--sp][0];\ type *end = stack[ sp][1];\ |