[svn] / branches / release-1_3-branch / xvidcore / src / decoder.c Repository:
ViewVC logotype

Diff of /branches/release-1_3-branch/xvidcore/src/decoder.c

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

revision 1927, Tue Dec 28 16:34:55 2010 UTC revision 1928, Tue Dec 28 19:19:57 2010 UTC
# Line 20  Line 20 
20   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
21   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22   *   *
23   * $Id: decoder.c,v 1.86 2010-12-24 13:49:58 Isibaar Exp $   * $Id: decoder.c,v 1.86.2.1 2010-12-28 19:19:57 Isibaar Exp $
24   *   *
25   ****************************************************************************/   ****************************************************************************/
26    
# Line 1413  Line 1413 
1413          int bound = read_video_packet_header(bs, dec, resync_len, &quant,          int bound = read_video_packet_header(bs, dec, resync_len, &quant,
1414                             &fcode_forward, &fcode_backward, &intra_dc_threshold);                             &fcode_forward, &fcode_backward, &intra_dc_threshold);
1415    
1416                  bound = MAX(0, bound--); /* valid bound must always be >0 */                  bound = MAX(0, bound-1); /* valid bound must always be >0 */
1417          x = bound % dec->mb_width;          x = bound % dec->mb_width;
1418          y = MIN((bound / dec->mb_width), (dec->mb_height-1));          y = MIN((bound / dec->mb_width), (dec->mb_height-1));
1419          /* reset predicted macroblocks */          /* reset predicted macroblocks */

Legend:
Removed from v.1927  
changed lines
  Added in v.1928

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