[FFmpeg-devel] [PATCH] RoQ Cosmetics - 1

Michael Niedermayer michaelni
Wed Jun 27 12:06:50 CEST 2007


Hi

On Wed, Jun 27, 2007 at 03:59:21AM +0200, Vitor wrote:
> Hi
> 
> Michael Niedermayer wrote:
> >Hi
> >
> >[...]
> >>@@ -109,10 +112,13 @@
> >>         return;
> >>     }
> >> 
> >>-    for(cp = 0; cp < 3; cp++)
> >>-        block_copy(ri->current_frame->data[cp] + (y * ri->y_stride) + x,
> >>-                   ri->last_frame->data[cp] + (my * ri->y_stride) + mx,
> >>-                   ri->y_stride, ri->y_stride, sz);
> >>+    for(cp = 0; cp < 3; cp++) {
> >>+        stride = cp==0 ? ri->y_stride : ri->c_stride;
> >
> >ri->current_frame.linesize[cp] seems like the more natural solution
> 
> I agree, patch attached.

looks ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070627/395dd619/attachment.pgp>



More information about the ffmpeg-devel mailing list