31     return c == 
' ' || c == 
'\n' || c == 
'\r' || c == 
'\t';
 
   53         if ((s - str)  < buf_size - 1)
 
   62     char buf1[32], tuple_type[32];
 
   63     int h, w, 
depth, maxval;
 
   72     } 
else if (s->
type==2 || s->
type==5) {
 
   77     } 
else if (s->
type==3 || s->
type==6) {
 
   79     } 
else if (s->
type==7) {
 
   87             if (!strcmp(buf1, 
"WIDTH")) {
 
   89                 w = strtol(buf1, NULL, 10);
 
   90             } 
else if (!strcmp(buf1, 
"HEIGHT")) {
 
   92                 h = strtol(buf1, NULL, 10);
 
   93             } 
else if (!strcmp(buf1, 
"DEPTH")) {
 
   95                 depth = strtol(buf1, NULL, 10);
 
   96             } 
else if (!strcmp(buf1, 
"MAXVAL")) {
 
   98                 maxval = strtol(buf1, NULL, 10);
 
   99             } 
else if (!strcmp(buf1, 
"TUPLTYPE") ||
 
  101                        !strcmp(buf1, 
"TUPLETYPE")) {
 
  102                 pnm_get(s, tuple_type, 
sizeof(tuple_type));
 
  103             } 
else if (!strcmp(buf1, 
"ENDHDR")) {
 
  119             } 
else if (maxval < 256) {
 
  124         } 
else if (depth == 2) {
 
  127         } 
else if (depth == 3) {
 
  133         } 
else if (depth == 4) {
 
  146     pnm_get(s, buf1, 
sizeof(buf1));
 
  148     pnm_get(s, buf1, 
sizeof(buf1));
 
  157         pnm_get(s, buf1, 
sizeof(buf1));
 
  171                 else if (s->
maxval < 1024)
 
  185         if ((avctx->
width & 1) != 0)