Revision e356fc57 libavformat/wv.c

View differences:

libavformat/wv.c
153 153
                    chmask = avio_rl32(pb);
154 154
                    break;
155 155
                case 5:
156
                    url_fskip(pb, 1);
156
                    avio_seek(pb, 1, SEEK_CUR);
157 157
                    chan |= (avio_r8(pb) & 0xF) << 8;
158 158
                    chmask = avio_rl24(pb);
159 159
                    break;
......
166 166
                rate = avio_rl24(pb);
167 167
                break;
168 168
            default:
169
                url_fskip(pb, size);
169
                avio_seek(pb, size, SEEK_CUR);
170 170
            }
171 171
            if(id&0x40)
172
                url_fskip(pb, 1);
172
                avio_seek(pb, 1, SEEK_CUR);
173 173
        }
174 174
        if(rate == -1){
175 175
            av_log(ctx, AV_LOG_ERROR, "Cannot determine custom sampling rate\n");

Also available in: Unified diff