Revision 45a8a02a libavformat/aiffdec.c

View differences:

libavformat/aiffdec.c
70 70
    int res;
71 71

  
72 72
    if (!str) {
73
        avio_seek(s->pb, size, SEEK_CUR);
73
        avio_skip(s->pb, size);
74 74
        return;
75 75
    }
76 76

  
......
152 152

  
153 153
    /* Chunk is over */
154 154
    if (size)
155
        avio_seek(pb, size, SEEK_CUR);
155
        avio_skip(pb, size);
156 156

  
157 157
    return num_frames;
158 158
}
......
242 242
                av_log(s, AV_LOG_ERROR, "file is not seekable\n");
243 243
                return -1;
244 244
            }
245
            avio_seek(pb, size - 8, SEEK_CUR);
245
            avio_skip(pb, size - 8);
246 246
            break;
247 247
        case MKTAG('w', 'a', 'v', 'e'):
248 248
            if ((uint64_t)size > (1<<30))
......
256 256
        default: /* Jump */
257 257
            if (size & 1)   /* Always even aligned */
258 258
                size++;
259
            avio_seek(pb, size, SEEK_CUR);
259
            avio_skip(pb, size);
260 260
        }
261 261
    }
262 262

  

Also available in: Unified diff