19 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: xvid_stat.c,v 1.13 2002-09-27 20:58:02 edgomez Exp $ |
* $Id: xvid_stat.c,v 1.14 2002-09-28 14:27:15 edgomez Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
277 |
****************************************************************************/ |
****************************************************************************/ |
278 |
|
|
279 |
if (XDIM <= 0 || XDIM >= 2048 || YDIM <=0 || YDIM >= 2048 ) { |
if (XDIM <= 0 || XDIM >= 2048 || YDIM <=0 || YDIM >= 2048 ) { |
280 |
fprintf(stderr, |
fprintf(stderr, "Trying to retreive width and height from PGM header\n"); |
|
"Trying to retreive width and height from PGM header\n", |
|
|
XDIM, |
|
|
YDIM); |
|
281 |
ARG_INPUTTYPE = 1; /* pgm */ |
ARG_INPUTTYPE = 1; /* pgm */ |
282 |
} |
} |
283 |
|
|
292 |
} |
} |
293 |
|
|
294 |
if ( ARG_FRAMERATE <= 0) { |
if ( ARG_FRAMERATE <= 0) { |
295 |
fprintf(stderr,"Wrong Fraterate %s \n",argv[5]); |
fprintf(stderr,"Wrong Framerate %s \n",argv[5]); |
296 |
return -1; |
return -1; |
297 |
} |
} |
298 |
|
|