Changeset - db93daf4704a
[Not reviewed]
default
0 1 0
LordOfWar - 16 years ago 2009-09-16 22:24:22

fixed a oversight in mortition(), the number of the frame should be (counter + start_frame) where start_frame = job->frameset[0].num
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -177,7 +177,7 @@ void mortition(struct distrenjob *head, 
 
  isJobDone = 1; // set isJobDone to true
 
  for(counter = 0; counter < job->total_frames; counter++)
 
    {
 
      sprintf(path_and_number, "stor/job%d/out/%d.%s", job->jobnum, counter, job->output_format);
 
      sprintf(path_and_number, "stor/job%d/out/%d.%s", job->jobnum, (counter + job->frameset[0].num), job->output_format);
 
      if(stat(path_and_number, &buffer) != -1)
 
        {
 
          job->frameset[counter].status = 0;
0 comments (0 inline, 0 general)