diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-09 23:26:39 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-09 23:26:39 +0000 |
commit | 3ec8d24ac91af69f12ab78ea4c645155547e4220 (patch) | |
tree | 7858849a3334d933540b3d9630d7704963d3490a | |
parent | cd3cb048d995c522cfd892d0603e1e0e96bcab6d (diff) | |
download | ffmpeg-3ec8d24ac91af69f12ab78ea4c645155547e4220.tar.gz |
tiny_psnr: change error exit code from -1 to 1
Originally committed as revision 24149 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | tests/tiny_psnr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tiny_psnr.c b/tests/tiny_psnr.c index 047048013a..512d47bb8e 100644 --- a/tests/tiny_psnr.c +++ b/tests/tiny_psnr.c @@ -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++) { |