Revision 755bfeab libavformat/nut.c

View differences:

libavformat/nut.c
85 85
    int64_t packet_start[3]; //0-> startcode less, 1-> short startcode 2-> long startcodes
86 86
    FrameCode frame_code[256];
87 87
    unsigned int stream_count;
88
    uint64_t next_startcode;     ///< stores the next startcode if it has alraedy been parsed but the stream isnt seekable
88
    uint64_t next_startcode;     ///< stores the next startcode if it has already been parsed but the stream is not seekable
89 89
    StreamContext *stream;
90 90
    int max_distance;
91 91
    int max_short_distance;
......
359 359
    uint64_t state=0;
360 360

  
361 361
    if(pos >= 0)
362
        url_fseek(bc, pos, SEEK_SET); //note, this may fail if the stream isnt seekable, but that shouldnt matter, as in this case we simply start where we are currently
362
        url_fseek(bc, pos, SEEK_SET); //note, this may fail if the stream is not seekable, but that should not matter, as in this case we simply start where we are currently
363 363

  
364 364
    while(!url_feof(bc)){
365 365
        state= (state<<8) | get_byte(bc);

Also available in: Unified diff