summaryrefslogtreecommitdiff
path: root/libavcodec/cabac.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-10 19:20:28 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-10 20:05:45 +0200
commit830d7d5c4fbf81265ca5260d59fe8467ac97b2e6 (patch)
treef1e130a855b8ac709606cea5fd9c5ebcc69dc3ff /libavcodec/cabac.c
parent89653ea728bd59da2b88967ad648cce685950879 (diff)
downloadffmpeg-830d7d5c4fbf81265ca5260d59fe8467ac97b2e6.tar.gz
cabac test: match encode and decode side
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/cabac.c')
-rw-r--r--libavcodec/cabac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c
index 81bba51370..50c2ea6914 100644
--- a/libavcodec/cabac.c
+++ b/libavcodec/cabac.c
@@ -332,6 +332,7 @@ START_TIMER
STOP_TIMER("put_cabac")
}
+#if 0
for(i=0; i<SIZE; i++){
START_TIMER
put_cabac_u(&c, state, r[i], 6, 3, i&1);
@@ -343,7 +344,7 @@ START_TIMER
put_cabac_ueg(&c, state, r[i], 3, 0, 1, 2);
STOP_TIMER("put_cabac_ueg")
}
-
+#endif
put_cabac_terminate(&c, 1);
ff_init_cabac_decoder(&c, b, SIZE);