[FFmpeg-cvslog] r13401 - trunk/libavcodec/ra144.c
vitor
subversion
Sun May 25 21:48:04 CEST 2008
Author: vitor
Date: Sun May 25 21:48:03 2008
New Revision: 13401
Log:
Merge two if's
Modified:
trunk/libavcodec/ra144.c
Modified: trunk/libavcodec/ra144.c
==============================================================================
--- trunk/libavcodec/ra144.c (original)
+++ trunk/libavcodec/ra144.c Sun May 25 21:48:03 2008
@@ -214,16 +214,14 @@ static void do_output_subblock(Real144_i
if (a) {
a += HALFBLOCK - 1;
rotate_block(glob->buffer_2, buffer_a, a);
+ m[0] = irms(buffer_a, gval) >> 12;
+ } else {
+ m[0] = 0;
}
m[1] = ((ftable1[b] >> 4) * gval) >> 8;
m[2] = ((ftable2[c] >> 4) * gval) >> 8;
- if (a)
- m[0] = irms(buffer_a, gval) >> 12;
- else
- m[0] = 0;
-
memmove(glob->buffer_2, glob->buffer_2 + BLOCKSIZE,
(BUFFERSIZE - BLOCKSIZE) * 2);
More information about the ffmpeg-cvslog
mailing list