diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-05-08 01:26:07 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-05-08 01:33:40 +0200 |
commit | 8f5729d54dbbe48e87c440f5afb5f5f52c9f6052 (patch) | |
tree | b6584978c80472bd967c00b1e1d204af6468e4d4 /libavcodec/svq1dec.c | |
parent | 0257ac8f12099e0c4d784e0db219584cbb739ce2 (diff) | |
download | ffmpeg-8f5729d54dbbe48e87c440f5afb5f5f52c9f6052.tar.gz |
svq1dec: replace /2 by >>1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/svq1dec.c')
-rw-r--r-- | libavcodec/svq1dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c index f559c737ab..e2ff71682f 100644 --- a/libavcodec/svq1dec.c +++ b/libavcodec/svq1dec.c @@ -142,7 +142,7 @@ static const uint8_t string_table[256] = { break;\ /* add child nodes */\ list[n++] = list[i];\ - list[n++] = list[i] + (((level & 1) ? pitch : 1) << ((level / 2) + 1));\ + list[n++] = list[i] + (((level & 1) ? pitch : 1) << ((level >> 1) + 1));\ } #define SVQ1_ADD_CODEBOOK()\ |