[FFmpeg-devel] [PATCH] Rearrange MpegEncContext to simplify access from asm

Luca Barbato lu_zero
Sat Jan 29 18:03:57 CET 2011


On 01/29/2011 05:53 PM, Mans Rullgard wrote:
> This moves the fields needed by asm near the top, before any
> structs or other members which complicate the offset calculation.
> Modifying other structs will no longer require updating the offsets,
> and the asm code is slightly simpler due to the smaller offsets.
> 

Looks ok, maybe could be useful marking that section with a warning comment.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-devel mailing list