returns a string of a four-cc code corresponding to an int (Intel byte order)
(int fourcc)
| 1472 | |
| 1473 | /** returns a string of a four-cc code corresponding to an int (Intel byte order) */ |
| 1474 | private String fourccString(int fourcc) { |
| 1475 | String s = ""; |
| 1476 | for (int i=0; i<4; i++) { |
| 1477 | int c = fourcc&0xff; |
| 1478 | s += Character.toString((char)c); |
| 1479 | fourcc >>= 8; |
| 1480 | } |
| 1481 | return s; |
| 1482 | } |
| 1483 | |
| 1484 | /** tries to close the given file (if not null) */ |
| 1485 | private void closeFile(RandomAccessFile rFile) { |
no test coverage detected