[Ffmpeg-devel] h264 decoder on ARM cpu

Stefan Gehrer stefan.gehrer
Wed May 11 10:24:47 CEST 2005


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)
>
I am not that much into that code, but guessing from the name, b8_stride 
is the width
of the frame in 8x8 blocks. As the frames are always coded in 
Macroblocks (16x16),
b8_stride can never become odd.

Regards
Stefan Gehrer





More information about the ffmpeg-devel mailing list