Revision f59d8ff8 libavformat/idroqdec.c

View differences:

libavformat/idroqdec.c
136 136
                break;
137 137
            }
138 138
            /* don't care about this chunk anymore */
139
            url_fseek(pb, RoQ_CHUNK_PREAMBLE_SIZE, SEEK_CUR);
139
            avio_seek(pb, RoQ_CHUNK_PREAMBLE_SIZE, SEEK_CUR);
140 140
            break;
141 141

  
142 142
        case RoQ_QUAD_CODEBOOK:
143 143
            /* packet needs to contain both this codebook and next VQ chunk */
144 144
            codebook_offset = url_ftell(pb) - RoQ_CHUNK_PREAMBLE_SIZE;
145 145
            codebook_size = chunk_size;
146
            url_fseek(pb, codebook_size, SEEK_CUR);
146
            avio_seek(pb, codebook_size, SEEK_CUR);
147 147
            if (avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE) !=
148 148
                RoQ_CHUNK_PREAMBLE_SIZE)
149 149
                return AVERROR(EIO);
......
151 151
                codebook_size;
152 152

  
153 153
            /* rewind */
154
            url_fseek(pb, codebook_offset, SEEK_SET);
154
            avio_seek(pb, codebook_offset, SEEK_SET);
155 155

  
156 156
            /* load up the packet */
157 157
            ret= av_get_packet(pb, pkt, chunk_size);

Also available in: Unified diff