diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-05-17 14:42:55 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-05-17 14:42:55 +0000 |
commit | f1bf6ba3db8d2551234d7d5fe878b7928395ffb0 (patch) | |
tree | e47dbcce6e43910d338224c8f12231875bcb4149 | |
parent | f54b42736d63538b48d266902c07cb8563b1e0c3 (diff) | |
download | ffmpeg-f1bf6ba3db8d2551234d7d5fe878b7928395ffb0.tar.gz |
Minor simplification of rotate_block()
Originally committed as revision 13197 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/ra144.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c index e30089406e..b38526f9e4 100644 --- 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; |