Signed-off-by: Ganesh Ajjanagadde <gajjanaga...@gmail.com> --- libavutil/qsort.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavutil/qsort.h b/libavutil/qsort.h index 30edcc8..f079661 100644 --- a/libavutil/qsort.h +++ b/libavutil/qsort.h @@ -27,7 +27,7 @@ * to construct input that requires O(n^2) time but this is very unlikely to * happen with non constructed input. */ -#define AV_QSORT(p, num, type, cmp) {\ +#define AV_QSORT(p, num, type, cmp) do { \ void *stack[64][2];\ int sp= 1;\ stack[0][0] = p;\ @@ -89,7 +89,7 @@ }\ }\ }\ -} +} while (0) /** * Merge sort, this sort requires a temporary buffer and is stable, its worst -- 2.6.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel