Revision b7e0f88f libavformat/wav.c

View differences:

libavformat/wav.c
227 227
        size = data_size;
228 228
    if (size < 0)
229 229
        return -1;
230
    if (!size) {
231
        wav->data_end = INT64_MAX;
232
    } else
230 233
    wav->data_end= url_ftell(pb) + size;
231 234
    return 0;
232 235
}

Also available in: Unified diff