[FFmpeg-cvslog] r11848 - trunk/libavformat/matroskadec.c

Luca Barbato lu_zero
Mon Feb 4 03:36:35 CET 2008


michael wrote:
> Author: michael
> Date: Mon Feb  4 02:04:27 2008
> New Revision: 11848
> 
> Log:
> Remove incorrect cast found by -Wwrite-strings.

> -                put_buffer(&b, (uint8_t *) "TTA1", 4);
> +                put_buffer(&b, "TTA1", 4);

"TTA1" isn't uint8_t, put_buffer accepts const unsigned char
 (const uint8_t*) would be more correct.

lu

-- 

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





More information about the ffmpeg-cvslog mailing list