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

Diff of /branches/dev-api-4/xvidcore/examples/xvid_encraw.c

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

revision 1265, Wed Dec 17 08:38:06 2003 UTC revision 1388, Tue Mar 23 09:27:20 2004 UTC
# Line 21  Line 21 
21   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
22   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
23   *   *
24   * $Id: xvid_encraw.c,v 1.11.2.40 2003-12-17 08:38:06 chl Exp $   * $Id: xvid_encraw.c,v 1.11.2.41 2004-03-23 09:27:20 chl Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# Line 729  Line 729 
729                  return (1);                  return (1);
730    
731          fscanf(handle, "%d %d %d", &xsize, &ysize, &depth);          fscanf(handle, "%d %d %d", &xsize, &ysize, &depth);
732          if ((xsize > 1440) || (ysize > 2880) || (depth != 255)) {          if ((xsize > 4096) || (ysize > 4096*3/2) || (depth != 255)) {
733                  fprintf(stderr, "%d %d %d\n", xsize, ysize, depth);                  fprintf(stderr, "%d %d %d\n", xsize, ysize, depth);
734                  return (2);                  return (2);
735          }          }

Legend:
Removed from v.1265  
changed lines
  Added in v.1388

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