[svn] / trunk / xvidcore / examples / xvid_decraw.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/examples/xvid_decraw.c

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

revision 1442, Tue Apr 20 19:47:00 2004 UTC revision 1523, Mon Jul 26 19:31:30 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: xvid_decraw.c,v 1.15 2004-04-20 19:47:00 edgomez Exp $   * $Id: xvid_decraw.c,v 1.18 2004-07-26 19:31:30 edgomez Exp $
24   *   *
25   ****************************************************************************/   ****************************************************************************/
26    
# Line 636  Line 636 
636          xvid_gbl_init_t   xvid_gbl_init;          xvid_gbl_init_t   xvid_gbl_init;
637          xvid_dec_create_t xvid_dec_create;          xvid_dec_create_t xvid_dec_create;
638    
639            /* Reset the structure with zeros */
640            memset(&xvid_gbl_init, 0, sizeof(xvid_gbl_init_t));
641            memset(&xvid_dec_create, 0, sizeof(xvid_dec_create_t));
642    
643          /*------------------------------------------------------------------------          /*------------------------------------------------------------------------
644           * XviD core initialization           * XviD core initialization
645           *----------------------------------------------------------------------*/           *----------------------------------------------------------------------*/
# Line 690  Line 694 
694    
695          xvid_dec_frame_t xvid_dec_frame;          xvid_dec_frame_t xvid_dec_frame;
696    
697            /* Reset all structures */
698            memset(&xvid_dec_frame, 0, sizeof(xvid_dec_frame_t));
699            memset(xvid_dec_stats, 0, sizeof(xvid_dec_stats_t));
700    
701          /* Set version */          /* Set version */
702          xvid_dec_frame.version = XVID_VERSION;          xvid_dec_frame.version = XVID_VERSION;
703          xvid_dec_stats->version = XVID_VERSION;          xvid_dec_stats->version = XVID_VERSION;

Legend:
Removed from v.1442  
changed lines
  Added in v.1523

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