OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
803ca89
)
Revert r8979 (Ugly fix for r8963)
author
Ramiro Polla
<ramiro.polla@gmail.com>
Thu, 10 May 2007 18:44:58 +0000
(18:44 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Thu, 10 May 2007 18:44:58 +0000
(18:44 +0000)
Originally committed as revision 8983 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/pcm.c
patch
|
blob
|
history
diff --git
a/libavcodec/pcm.c
b/libavcodec/pcm.c
index
c1eee1b
..
2551d12
100644
(file)
--- a/
libavcodec/pcm.c
+++ b/
libavcodec/pcm.c
@@
-177,8
+177,8
@@
static inline void encode_from16(int bps, int le, int us,
for(;n>0;n--) {
register int v = *(*samples)++;
v += usum;
- if (le)
{AV_WL16(*dst, v);}
- else
{AV_WB16(*dst, v);}
+ if (le)
AV_WL16(*dst, v);
+ else
AV_WB16(*dst, v);
*dst += bps;
}
if (le) *dst -= bps - 2;