X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2Fgdcmmpeg2%2Fsrc%2Fmpeg2dec%2Fspatscal.c;h=08e78cdf8c5eed73009c3609756e41ee155e49dc;hb=0bcc188c6d5185375f809253e8b9b97c856d2eac;hp=55d26f24a7cb466238278408098f76abe00a61cc;hpb=ccc606678fca0bc69bcc76384459682ccef01f17;p=gdcm.git diff --git a/src/gdcmmpeg2/src/mpeg2dec/spatscal.c b/src/gdcmmpeg2/src/mpeg2dec/spatscal.c index 55d26f24..08e78cdf 100644 --- a/src/gdcmmpeg2/src/mpeg2dec/spatscal.c +++ b/src/gdcmmpeg2/src/mpeg2dec/spatscal.c @@ -1,5 +1,33 @@ +/* spatscal.c, ???? */ -#include +/* Copyright (C) 1996, MPEG Software Simulation Group. All Rights Reserved. */ + +/* + * Disclaimer of Warranty + * + * These software programs are available to the user without any license fee or + * royalty on an "as is" basis. The MPEG Software Simulation Group disclaims + * any and all warranties, whether express, implied, or statuary, including any + * implied warranties or merchantability or of fitness for a particular + * purpose. In no event shall the copyright-holder be liable for any + * incidental, punitive, or consequential damages of any kind whatsoever + * arising from the use of these programs. + * + * This disclaimer of warranty extends to the user of these programs and user's + * customers, employees, agents, transferees, successors, and assigns. + * + * The MPEG Software Simulation Group does not represent or warrant that the + * programs furnished hereunder are free of infringement of any third-party + * patents. + * + * Commercial implementations of MPEG-1 and MPEG-2 video, including shareware, + * are subject to royalty fees to patent holders. Many of these patents are + * general enough such that they are unavoidable regardless of implementation + * design. + * + */ + +#include /* for strcat */ #include "config.h" #include "global.h" @@ -92,9 +120,9 @@ static void Read_Lower_Layer_Component_Framewise(comp,lw,lh) #ifdef VERBOSE if (Verbose_Flag>1) printf("reading %s\n",fname); -#endif VERBOSE +#endif /* VERBOSE */ fd=fopen(fname,"rb"); - if (fd==NULL) exit(-1); + if (fd==NULL) my_exit(-1); for (j=0; j1) printf("reading %s\n",fname); -#endif VERBOSE +#endif /* VERBOSE */ fd=fopen(fname,"rb"); - if (fd==NULL) exit(-1); + if (fd==NULL) my_exit(-1); for (j=0; j1) printf("reading %s\n",fname); -#endif VERBOSE +#endif /* VERBOSE */ fd=fopen(fname,"rb"); - if (fd==NULL) exit(-1); + if (fd==NULL) my_exit(-1); for (j=1; j