[MPlayer-dev-eng] [PATCH] Metadata retrieval from FLAc audio files.

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Mar 11 14:38:28 CET 2006


Hi,
On Sat, Mar 11, 2006 at 02:18:06PM +0100, Benjamin Zores wrote:
> +        length = le2me_32 (*(uint32_t *) ptr);
> +        ptr += 4 + length;
> +
> +        user_comment_list_length = le2me_32 (*(uint32_t *) ptr);
> +        ptr += 4;

Since ptr AFAICT might be non-aligned, casting to (uint32_t *) is wrong.

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list