[svn] / trunk / xvidcore / src / bitstream / bitstream.h Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/bitstream/bitstream.h

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

revision 1617, Mon May 23 09:29:43 2005 UTC revision 1699, Fri Apr 14 07:24:47 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.23 2006-04-14 07:24:47 Skal Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 193  Line 193 
193  #endif  #endif
194          bs->bufb = tmp;          bs->bufb = tmp;
195    
         bs->buf = 0;  
196          bs->pos = bs->initpos = bitpos*8;          bs->pos = bs->initpos = bitpos*8;
197            /* preserve the intervening bytes */
198            if (bs->initpos > 0)
199                    bs->buf = bs->bufa & (0xffffffff << (32 - bs->initpos));
200            else
201                    bs->buf = 0;
202          bs->length = length;          bs->length = length;
203  }  }
204    
# Line 220  Line 224 
224  #endif  #endif
225          bs->bufb = tmp;          bs->bufb = tmp;
226    
227            /* preserve the intervening bytes */
228            if (bs->initpos > 0)
229                    bs->buf = bs->bufa & (0xffffffff << (32 - bs->initpos));
230            else
231          bs->buf = 0;          bs->buf = 0;
232          bs->pos = bs->initpos;          bs->pos = bs->initpos;
233  }  }

Legend:
Removed from v.1617  
changed lines
  Added in v.1699

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