Commit 52353cf5 authored by bcoudurier's avatar bcoudurier

decrease last_offset when ftyp is present


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5283 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1a2b3c4c
......@@ -243,8 +243,11 @@ int main(int argc, char *argv[])
free(moov_atom);
return 1;
}
/* seek after ftyp atom if needed */
fseeko(infile, start_offset, SEEK_SET);
if (start_offset > 0) { /* seek after ftyp atom */
fseeko(infile, start_offset, SEEK_SET);
last_offset -= start_offset;
}
outfile = fopen(argv[2], "wb");
if (!outfile) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment