#481 Image exporting fixed (DefineBitsJPEG2/3 erroneous header)

This commit is contained in:
Honfika
2014-01-22 18:41:43 +01:00
parent 41e9e58c31
commit 5abdf60a24
4 changed files with 13 additions and 3 deletions

View File

@@ -171,7 +171,7 @@ public class SWFInputStream extends InputStream {
*
* @param pos Number of bytes
*/
public void seek(int pos) throws IOException {
public void seek(long pos) throws IOException {
if (is instanceof SeekableInputStream) {
SeekableInputStream sis = (SeekableInputStream) is;
sis.seek(pos);