From: Loren Merritt Date: Sun, 22 Apr 2007 03:37:56 +0000 (+0000) Subject: c89 compile fix X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=fe85aca1c58ef4975aee8e6e32b4d57624960367;p=x264.git c89 compile fix git-svn-id: svn://svn.videolan.org/x264/trunk@652 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/common/cabac.c b/common/cabac.c index 6d9d9ac0..2996d33c 100644 --- a/common/cabac.c +++ b/common/cabac.c @@ -867,9 +867,9 @@ static inline void x264_cabac_putbyte( x264_cabac_t *cb ) } else { + int carry = out & 0x100; if( cb->p + cb->i_bytes_outstanding + 1 >= cb->p_end ) return; - int carry = out & 0x100; if( carry ) { // this can't happen on the first byte (buffer underrun),