projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f54b427
)
Minor simplification of rotate_block()
author
Vitor Sessak
<vitor1001@gmail.com>
Sat, 17 May 2008 14:42:55 +0000
(14:42 +0000)
committer
Vitor Sessak
<vitor1001@gmail.com>
Sat, 17 May 2008 14:42:55 +0000
(14:42 +0000)
Originally committed as revision 13197 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ra144.c
patch
|
blob
|
history
diff --git
a/libavcodec/ra144.c
b/libavcodec/ra144.c
index e30089406e4d1aa75183479e4f1f65af38ea84f9..b38526f9e404e3dbe0838a8b4107211eea1731da 100644
(file)
--- a/
libavcodec/ra144.c
+++ b/
libavcodec/ra144.c
@@
-138,10
+138,10
@@
static void do_output_subblock(Real144_internal *glob, const unsigned short *gs
static void rotate_block(const short *source, short *target, int offset)
{
int i=0, k=0;
-
const short *ptr1 = source +
BUFFERSIZE - offset;
+
source +=
BUFFERSIZE - offset;
while (i<BLOCKSIZE) {
- target[i++] =
ptr1
[k++];
+ target[i++] =
source
[k++];
if (k == offset)
k = 0;