[x264-devel] x264-0.0.20140308 compilation warning

BugMaster BugMaster at narod.ru
Fri Mar 27 20:10:05 CET 2015

On Mon, 2 Mar 2015 11:28:34 +0300, Ilya Gordeev wrote:

> Building x264-0.0.20140308 by gcc-4.9.2 I'v got this message:
> common/bitstream.h:101:19: warning: ‘tmp_buf.i’ is used
> uninitialized in this function [-Wuninitialized]

> It because in set.c "bs_init" is called with uninitialized "p_data"
> parameter but then in bitstream.h:101 it accesses to the first 4
> bytes of "p_data" (if "offset" is equals to 0)

> Ilya Gordeev.

Hi. Update your x264 sources. This was already fixed half year ago in

More information about the x264-devel mailing list