[FFmpeg-devel] [PATCH] RoQ Cosmetics - 1
Benoit Fouet
benoit.fouet
Wed Jun 27 12:40:53 CEST 2007
Michael Niedermayer wrote:
> 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
>
> [...]
>
Applied
Ben
--
Purple Labs S.A.
www.purplelabs.com
More information about the ffmpeg-devel
mailing list