[svn] / branches / release-1_1-branch / xvidcore / src / bitstream / bitstream.h Repository:
ViewVC logotype

Diff of /branches/release-1_1-branch/xvidcore/src/bitstream/bitstream.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1713, Mon Jul 10 08:09:59 2006 UTC revision 1714, Mon Jul 10 15:05:30 2006 UTC
# Line 19  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: bitstream.h,v 1.22 2005-05-23 09:29:43 Skal Exp $   * $Id: bitstream.h,v 1.22.2.1 2006-07-10 15:05:30 Isibaar Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 193  Line 193 
193  #endif  #endif
194          bs->bufb = tmp;          bs->bufb = tmp;
195    
196            /* preserve the intervening bytes */
197            if (bs->initpos > 0)
198                    bs->buf = bs->bufa & (0xffffffff << (32 - bs->initpos));
199            else
200          bs->buf = 0;          bs->buf = 0;
201    
202          bs->pos = bs->initpos = bitpos*8;          bs->pos = bs->initpos = bitpos*8;
203          bs->length = length;          bs->length = length;
204  }  }
# Line 220  Line 225 
225  #endif  #endif
226          bs->bufb = tmp;          bs->bufb = tmp;
227    
228            /* preserve the intervening bytes */
229            if (bs->initpos > 0)
230                    bs->buf = bs->bufa & (0xffffffff << (32 - bs->initpos));
231            else
232          bs->buf = 0;          bs->buf = 0;
233    
234          bs->pos = bs->initpos;          bs->pos = bs->initpos;
235  }  }
236    

Legend:
Removed from v.1713  
changed lines
  Added in v.1714

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4