Restoring wrap_j2k_in_mj2.c, which I did not want to commit at all in rev469

This commit is contained in:
Giuseppe Baruffa 2007-11-05 13:14:51 +00:00
parent 95d760a173
commit b93c12564d
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ int main(int argc, char *argv[]) {
while(1)
{
sample = &movie->tk[0].sample[snum];
sprintf(j2kfilename,"%05d.j2k",/*argv[1],*/snum + 7111);
sprintf(j2kfilename,"%s_%05d.j2k",argv[1],snum);
j2kfile = fopen(j2kfilename, "rb");
if (!j2kfile) {
if (snum==0) { // Could not open a single codestream