Ignore:
Timestamp:
11/20/06 19:53:36 (18 years ago)
Author:
r2d
Message:
  • added a first version of the seek table for sv8
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/libmpcenc/encode_sv7.c

    r142 r147  
    7575        e->bitsBuff = 0;
    7676        e->Overflows = 0;
     77        e->seek_pos = 0;
    7778}
    7879
     
    415416
    416417        e->framesInBlock++;
    417         if (e->framesInBlock == FRAMES_PER_BLOCK)
     418        if (e->framesInBlock == FRAMES_PER_BLOCK) {
     419                e->seek_table[e->seek_pos] = ftell(e->outputFile);
     420                e->seek_pos++;
    418421                writeBlock(e, "AD", MPC_FALSE);
     422        }
    419423}
    420424
Note: See TracChangeset for help on using the changeset viewer.