Mercurial > libavcodec.hg
diff h264enc.c @ 10214:97f38ca4ed14 libavcodec
Use a custom radix sort implementation instead of qsort in dnxhd encoder.
This is mainly to avoid test failures due to implementation-defined
behaviour of qsort when elements are equal, giving different results
for each of FreeBSD, Linux/glibc and Solaris.
In addition it is about 35 % faster, effect on overall speed is minimal
though (< 2%).
Regression tests are unchanged (i.e. identical to Linux/glibc).
author | reimar |
---|---|
date | Mon, 21 Sep 2009 10:28:31 +0000 |
parents | 0dce4fe6e6f3 |
children | b94e1810ce4c |