[svn] / branches / dev-api-4 / xvidcore / src / decoder.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/decoder.c

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

revision 1230, Sun Nov 30 16:13:16 2003 UTC revision 1249, Tue Dec 9 14:31:40 2003 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.49.2.20 2003-11-30 16:13:15 edgomez Exp $   * $Id: decoder.c,v 1.49.2.21 2003-12-09 14:31:40 syskin Exp $
24   *   *
25   ****************************************************************************/   ****************************************************************************/
26    
# Line 1491  Line 1491 
1491                          /* attemping to decode a bvop without atleast 2 reference frames */                          /* attemping to decode a bvop without atleast 2 reference frames */
1492                          image_printf(&dec->cur, dec->edged_width, dec->height, 16, 16,                          image_printf(&dec->cur, dec->edged_width, dec->height, 16, 16,
1493                                                  "broken b-frame, mising ref frames");                                                  "broken b-frame, mising ref frames");
1494                            stats->type = XVID_TYPE_NOTHING;
1495                  } else if (dec->time_pp <= dec->time_bp) {                  } else if (dec->time_pp <= dec->time_bp) {
1496                          /* this occurs when dx50_bvop_compatibility==0 sequences are                          /* this occurs when dx50_bvop_compatibility==0 sequences are
1497                          decoded in vfw. */                          decoded in vfw. */
1498                          image_printf(&dec->cur, dec->edged_width, dec->height, 16, 16,                          image_printf(&dec->cur, dec->edged_width, dec->height, 16, 16,
1499                                                  "broken b-frame, tpp=%i tbp=%i", dec->time_pp, dec->time_bp);                                                  "broken b-frame, tpp=%i tbp=%i", dec->time_pp, dec->time_bp);
1500                            stats->type = XVID_TYPE_NOTHING;
1501                  } else {                  } else {
1502                          decoder_bframe(dec, &bs, quant, fcode_forward, fcode_backward);                          decoder_bframe(dec, &bs, quant, fcode_forward, fcode_backward);
1503                            decoder_output(dec, &dec->cur, dec->mbs, frame, stats, coding_type);
1504                  }                  }
1505    
                 decoder_output(dec, &dec->cur, dec->mbs, frame, stats, coding_type);  
1506                  output = 1;                  output = 1;
1507                  dec->frames++;                  dec->frames++;
1508          }          }

Legend:
Removed from v.1230  
changed lines
  Added in v.1249

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