[Ffmpeg-devel] h264 decoder on ARM cpu

Michael Niedermayer michaelni
Thu May 12 20:50:11 CEST 2005


Hi

On Tuesday 10 May 2005 22:24, G?bor Kov?cs wrote:
> I think I found a memory access alignment problem in h264.c line 1379 (when
> b8_stride is odd):
>
> *(uint16_t*)&s->current_picture.ref_index[list][b8_xy + y*h->b8_stride]=
> (LIST_NOT_USED&0xFF)*0x0101;
>
> (I split it into two uint8_t access)

send patch in case this is the only place where such a split is needed, 
otherwise we should probably consider to change b8_stride

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list