Revision 701d0eb1

View differences:

libavcodec/adpcm.c
1291 1291
        }
1292 1292
        break;
1293 1293
    case CODEC_ID_ADPCM_EA:
1294
        if (buf_size < 4 || AV_RL32(src) >= ((buf_size - 12) * 2)) {
1294
        if (buf_size < 12 || AV_RL32(src) > (buf_size - 12)/30*28) {
1295 1295
            src += buf_size;
1296 1296
            break;
1297 1297
        }

Also available in: Unified diff