[FFmpeg-cvslog] r24149 - trunk/tests/tiny_psnr.c
mru
subversion
Sat Jul 10 01:26:40 CEST 2010
Author: mru
Date: Sat Jul 10 01:26:39 2010
New Revision: 24149
Log:
tiny_psnr: change error exit code from -1 to 1
Modified:
trunk/tests/tiny_psnr.c
Modified: trunk/tests/tiny_psnr.c
==============================================================================
--- trunk/tests/tiny_psnr.c Sat Jul 10 01:26:36 2010 (r24148)
+++ trunk/tests/tiny_psnr.c Sat Jul 10 01:26:39 2010 (r24149)
@@ -119,14 +119,14 @@ int main(int argc,char* argv[]){
if(argc<3){
printf("tiny_psnr <file1> <file2> [<elem size> [<shift> [<skip bytes>]]]\n");
printf("WAV headers are skipped automatically.\n");
- return -1;
+ return 1;
}
f[0]= fopen(argv[1], "rb");
f[1]= fopen(argv[2], "rb");
if(!f[0] || !f[1]){
fprintf(stderr, "Could not open input files.\n");
- return -1;
+ return 1;
}
for (i = 0; i < 2; i++) {
More information about the ffmpeg-cvslog
mailing list