git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0701446
)
Merge declaration and initialization.
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Feb 2008 01:33:49 +0000
(
01:33
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Feb 2008 01:33:49 +0000
(
01:33
+0000)
Originally committed as revision 11701 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/common.h
patch
|
blob
|
history
diff --git
a/libavutil/common.h
b/libavutil/common.h
index
f2dd83b
..
c6356a8
100644
(file)
--- a/
libavutil/common.h
+++ b/
libavutil/common.h
@@
-96,9
+96,7
@@
extern const uint8_t ff_log2_tab[256];
static inline int av_log2(unsigned int v)
{
- int n;
-
- n = 0;
+ int n = 0;
if (v & 0xffff0000) {
v >>= 16;
n += 16;
@@
-114,9
+112,7
@@
static inline int av_log2(unsigned int v)
static inline int av_log2_16bit(unsigned int v)
{
- int n;
-
- n = 0;
+ int n = 0;
if (v & 0xff00) {
v >>= 8;
n += 8;