]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavcodec/roqvideo.c
frsh: Export information about the last RTP contract and VRES
[frescor/ffmpeg.git] / libavcodec / roqvideo.c
index cc2413363d12b2ad3ff44e54a20037339c9ae192..d97c4361ce47578574f9a9b3537e80496d8d7594 100644 (file)
@@ -20,8 +20,8 @@
  */
 
 /**
- * @file roqvideo.c
- * Id RoQ Video common functions based on work by Dr. Tim Ferguson
+ * @file libavcodec/roqvideo.c
+ * id RoQ Video common functions based on work by Dr. Tim Ferguson
  */
 
 #include "avcodec.h"
@@ -118,8 +118,8 @@ static inline void apply_motion_generic(RoqContext *ri, int x, int y, int deltax
     for(cp = 0; cp < 3; cp++) {
         int outstride = ri->current_frame->linesize[cp];
         int instride  = ri->last_frame   ->linesize[cp];
-        block_copy(ri->current_frame->data[cp] + (y*outstride) + x,
-                   ri->last_frame->data[cp] + (my*instride) + mx,
+        block_copy(ri->current_frame->data[cp] + y*outstride + x,
+                   ri->last_frame->data[cp] + my*instride + mx,
                    outstride, instride, sz);
     }
 }