aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_cabac.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-01-16 05:41:33 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-01-16 05:41:33 +0000
commitddd60f28d8f4baaf70a21f44c07b6ceac00cea05 (patch)
tree17bbf1591bf27a1764be9c375dcc8520fa364fad /libavcodec/h264_cabac.c
parenta482e61bd624c71e39c1a06367e303364b3ba153 (diff)
downloadffmpeg-ddd60f28d8f4baaf70a21f44c07b6ceac00cea05.tar.gz
Replace cabac checks in inline functions from h264.h with constants.
No benchmark because its just replacing variables with litteral constants (so no risk for slowdown outside gcc silliness) and i need sleep. Originally committed as revision 21237 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264_cabac.c')
-rw-r--r--libavcodec/h264_cabac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c
index 33e90b4d8f..6af7a5fb24 100644
--- a/libavcodec/h264_cabac.c
+++ b/libavcodec/h264_cabac.c
@@ -25,6 +25,8 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
+#define CABAC 1
+
#include "internal.h"
#include "dsputil.h"
#include "avcodec.h"