summaryrefslogtreecommitdiff
path: root/libavcodec/msmpeg4.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-04-26 13:52:12 +0200
committerDiego Biurrun <diego@biurrun.de>2011-04-26 20:18:27 +0200
commite6ff064845d02c43526c8a56dab121c219f16659 (patch)
tree2b2e1f7c601568d61cfdec616e0c7df0b5ea0f3b /libavcodec/msmpeg4.c
parent9d35fa520e3b27f7dd9fe12c433eb596f1271515 (diff)
downloadffmpeg-e6ff064845d02c43526c8a56dab121c219f16659.tar.gz
Eliminate pointless '#if 1' statements without matching '#else'.
Diffstat (limited to 'libavcodec/msmpeg4.c')
-rw-r--r--libavcodec/msmpeg4.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index 0dba8d9c35..85713b5d40 100644
--- a/libavcodec/msmpeg4.c
+++ b/libavcodec/msmpeg4.c
@@ -985,10 +985,9 @@ void ff_msmpeg4_encode_block(MpegEncContext * s, DCTELEM * block, int n)
if(level<=MAX_LEVEL && run<=MAX_RUN){
s->ac_stats[s->mb_intra][n>3][level][run][last]++;
}
-#if 0
-else
- s->ac_stats[s->mb_intra][n>3][40][63][0]++; //esc3 like
-#endif
+
+ s->ac_stats[s->mb_intra][n > 3][40][63][0]++; //esc3 like
+
code = get_rl_index(rl, last, run, level);
put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]);
if (code == rl->n) {