summaryrefslogtreecommitdiff
path: root/libavcodec/vc1.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2007-07-06 14:11:29 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2007-07-06 14:11:29 +0000
commit3662aa766f8ca086d8a23a9372d51706c86c2ec7 (patch)
tree3d097e8f2adc9da3245fbf8f7c3af1458ac095ef /libavcodec/vc1.c
parentc0de00dac5d872c5a528093258cd618ca69b888f (diff)
Drop redundant assignment and variable
Originally committed as revision 9502 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vc1.c')
-rw-r--r--libavcodec/vc1.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index d56eefcc93..a0703d2033 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -89,9 +89,7 @@ static int get_prefix(GetBitContext *gb, int stop, int len)
}
static inline int decode210(GetBitContext *gb){
- int n;
- n = get_bits1(gb);
- if (n == 1)
+ if (get_bits1(gb))
return 0;
else
return 2 - get_bits1(gb);