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

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

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

revision 1419, Sun Apr 11 08:11:09 2004 UTC revision 1438, Mon Apr 19 12:33:34 2004 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.51.2.1 2004-04-11 08:11:09 syskin Exp $   * $Id: decoder.c,v 1.51.2.2 2004-04-19 12:33:34 syskin Exp $
24   *   *
25   ****************************************************************************/   ****************************************************************************/
26    
# Line 222  Line 222 
222          dec->time = dec->time_base = dec->last_time_base = 0;          dec->time = dec->time_base = dec->last_time_base = 0;
223          dec->low_delay = 0;          dec->low_delay = 0;
224          dec->packed_mode = 0;          dec->packed_mode = 0;
225            dec->time_inc_resolution = 1; /* until VOL header says otherwise */
226    
227          dec->fixed_dimensions = (dec->width > 0 && dec->height > 0);          dec->fixed_dimensions = (dec->width > 0 && dec->height > 0);
228    
# Line 1489  Line 1490 
1490                  goto repeat;                  goto repeat;
1491          }          }
1492    
1493            if(dec->frames == 0 && coding_type != I_VOP) {
1494                    /* 1st frame is not an i-vop */
1495                    goto repeat;
1496            }
1497    
1498          dec->p_bmv.x = dec->p_bmv.y = dec->p_fmv.y = dec->p_fmv.y = 0;  /* init pred vector to 0 */          dec->p_bmv.x = dec->p_bmv.y = dec->p_fmv.y = dec->p_fmv.y = 0;  /* init pred vector to 0 */
1499    
1500          /* packed_mode: special-N_VOP treament */          /* packed_mode: special-N_VOP treament */

Legend:
Removed from v.1419  
changed lines
  Added in v.1438

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