summaryrefslogtreecommitdiff
path: root/libavcodec/h264_cavlc.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_cavlc.c
parenta482e61bd624c71e39c1a06367e303364b3ba153 (diff)
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_cavlc.c')
-rw-r--r--libavcodec/h264_cavlc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264_cavlc.c b/libavcodec/h264_cavlc.c
index 42fb175c3b..c170e7cc92 100644
--- a/libavcodec/h264_cavlc.c
+++ b/libavcodec/h264_cavlc.c
@@ -25,6 +25,8 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
+#define CABAC 0
+
#include "internal.h"
#include "avcodec.h"
#include "mpegvideo.h"