[Ffmpeg-devel] [PATCH]: Too much alignment assumed by H264 decoder

Michael Niedermayer michaelni
Mon Jan 30 11:41:37 CET 2006


Hi

On Mon, Dec 26, 2005 at 03:39:25PM -0800, David S. Miller wrote:
> From: Loren Merritt <lorenm at u.washington.edu>
> Date: Mon, 26 Dec 2005 00:37:42 -0800 (PST)
> 
> > int16_t mv_cache[2][5*8][2] __align8;
> > 
> > h->mv_cache[i][j] is size 4, so j only needs to be a multiple of 2, which 
> > it is.
> 
> You're right, thanks everyone for steering me in the right direction.
> 
> The following works for me, but I can't vouch for it's correctness.
> I can't say why the "+ 1" was there in the first place.

if all reference bitstreams are decoded with same md5 after the change
then this is ok and can be applied

[...]

-- 
Michael





More information about the ffmpeg-devel mailing list