diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-07-06 14:11:29 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-07-06 14:11:29 +0000 |
commit | 3662aa766f8ca086d8a23a9372d51706c86c2ec7 (patch) | |
tree | 3d097e8f2adc9da3245fbf8f7c3af1458ac095ef /libavcodec/vc1.c | |
parent | c0de00dac5d872c5a528093258cd618ca69b888f (diff) | |
download | ffmpeg-streaming-3662aa766f8ca086d8a23a9372d51706c86c2ec7.zip ffmpeg-streaming-3662aa766f8ca086d8a23a9372d51706c86c2ec7.tar.gz |
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.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index d56eefc..a0703d2 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); |